From 004f829c2b6f93a63face03685d59f4dc7913c1c Mon Sep 17 00:00:00 2001 From: tpoole Date: Mon, 5 Sep 2016 22:12:27 +0100 Subject: [PATCH] Reverted #bea45f84 - this only fixed SVG positioning bugs for limited cases --- modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp b/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp index 8b1caf4154..0c0f6737d1 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp +++ b/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp @@ -192,7 +192,7 @@ void DrawableComposite::updateBoundsToFitChildren() for (int i = getNumChildComponents(); --i >= 0;) if (Component* const c = getChildComponent(i)) - c->setBounds (c->getBoundsInParent() - delta); + c->setBounds (c->getBounds() - delta); } setBounds (childArea);