mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Reverted #bea45f84 - this only fixed SVG positioning bugs for limited cases
This commit is contained in:
parent
9276540e7d
commit
004f829c2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue