Browse Source

Reverted #bea45f84 - this only fixed SVG positioning bugs for limited cases

tags/2021-05-28
tpoole 8 years ago
parent
commit
004f829c2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp

+ 1
- 1
modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp View File

@@ -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);


Loading…
Cancel
Save