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:
parent
9c91f16e3a
commit
8aa0a698d9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user