1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed SVG child-transform rendering bug.

This commit is contained in:
tpoole 2016-09-05 10:07:32 +01:00
parent e74849ccfb
commit bea45f84db

View file

@ -192,7 +192,7 @@ void DrawableComposite::updateBoundsToFitChildren()
for (int i = getNumChildComponents(); --i >= 0;)
if (Component* const c = getChildComponent(i))
c->setBounds (c->getBounds() - delta);
c->setBounds (c->getBoundsInParent() - delta);
}
setBounds (childArea);