mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Avoid errors due to second set
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user