mirror of https://github.com/ppy/osu
Fix `SkinnableTestScene` sizing logic potentially failing to work
This commit is contained in:
parent
785d53ad9b
commit
8aff856c79
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue