1
0
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:
Dean Herbert 2022-09-27 12:16:30 +09:00 committed by GitHub
commit f177b43034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;