diff --git a/modules/juce_gui_basics/drawables/juce_Drawable.cpp b/modules/juce_gui_basics/drawables/juce_Drawable.cpp index 4cda296fae..935e7a9c04 100644 --- a/modules/juce_gui_basics/drawables/juce_Drawable.cpp +++ b/modules/juce_gui_basics/drawables/juce_Drawable.cpp @@ -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()