1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:33:21 +08:00

Avoid errors due to second set

This commit is contained in:
Dean Herbert 2020-11-05 17:26:41 +09:00
parent 9c91f16e3a
commit 8aa0a698d9

View File

@ -126,6 +126,9 @@ namespace osu.Game.Tests.Visual
foreach (var c in new[] { mainProvider, childContainer, skinProvider })
{
c.RelativeSizeAxes = Axes.None;
c.AutoSizeAxes = Axes.None;
c.RelativeSizeAxes = !autoSize ? Axes.Both : Axes.None;
c.AutoSizeAxes = autoSize ? Axes.Both : Axes.None;
}