1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed Drawable clip-paths not being copied correctly

This commit is contained in:
jules 2018-02-05 10:08:33 +00:00
parent 5a6f33b987
commit 56a6bf06cd

View file

@ -41,6 +41,9 @@ Drawable::Drawable (const Drawable& other)
setComponentID (other.getComponentID());
setTransform (other.getTransform());
if (auto* clipPath = other.drawableClipPath.get())
setClipPath (clipPath->createCopy());
}
Drawable::~Drawable()