mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Fixed SVG child-transform rendering bug.
This commit is contained in:
parent
e74849ccfb
commit
bea45f84db
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ void DrawableComposite::updateBoundsToFitChildren()
|
||||||
|
|
||||||
for (int i = getNumChildComponents(); --i >= 0;)
|
for (int i = getNumChildComponents(); --i >= 0;)
|
||||||
if (Component* const c = getChildComponent(i))
|
if (Component* const c = getChildComponent(i))
|
||||||
c->setBounds (c->getBounds() - delta);
|
c->setBounds (c->getBoundsInParent() - delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
setBounds (childArea);
|
setBounds (childArea);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue