From f59ab9e4a37feed0d62908ccd97f79c1507b25c9 Mon Sep 17 00:00:00 2001 From: hogliux Date: Thu, 23 Jul 2015 15:39:10 +0100 Subject: [PATCH] Also copy transforms when copying drawables --- modules/juce_gui_basics/drawables/juce_Drawable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_gui_basics/drawables/juce_Drawable.cpp b/modules/juce_gui_basics/drawables/juce_Drawable.cpp index fb00b937b9..f9b0944d78 100644 --- a/modules/juce_gui_basics/drawables/juce_Drawable.cpp +++ b/modules/juce_gui_basics/drawables/juce_Drawable.cpp @@ -32,6 +32,7 @@ Drawable::Drawable (const Drawable& other) : Component (other.getName()) { setComponentID (other.getComponentID()); + setTransform (other.getTransform()); } Drawable::~Drawable()