mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Merge pull request #20497 from frenzibyte/fix-skinnable-test-scene-sizing
Fix `SkinnableTestScene` sizing logic potentially failing to work
This commit is contained in:
commit
f177b43034
@ -140,6 +140,7 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
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
Block a user