mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 22:47:26 +09: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 })
|
foreach (var c in new[] { mainProvider, childContainer, skinProvider })
|
||||||
{
|
{
|
||||||
|
c.RelativeSizeAxes = Axes.None;
|
||||||
|
c.AutoSizeAxes = Axes.None;
|
||||||
|
|
||||||
c.RelativeSizeAxes = !autoSize ? Axes.Both : Axes.None;
|
c.RelativeSizeAxes = !autoSize ? Axes.Both : Axes.None;
|
||||||
c.AutoSizeAxes = autoSize ? Axes.Both : Axes.None;
|
c.AutoSizeAxes = autoSize ? Axes.Both : Axes.None;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user