Fix `SkinnableTestScene` sizing logic potentially failing to work

This commit is contained in:
Salman Ahmed 2022-09-27 05:18:13 +03:00
parent 785d53ad9b
commit 8aff856c79
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ void updateSizing()
{
c.RelativeSizeAxes = Axes.None;
c.AutoSizeAxes = Axes.None;
c.Size = Vector2.Zero;
c.RelativeSizeAxes = !autoSize ? Axes.Both : Axes.None;
c.AutoSizeAxes = autoSize ? Axes.Both : Axes.None;