Fix mod select overlay not showing up in test

This commit is contained in:
Joehu 2020-02-01 11:41:41 -08:00
parent 2d42a83bb9
commit 609ee26030
3 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,6 @@ public void SetUp() => Schedule(() =>
{
modSelect = new TestModSelectOverlay
{
RelativeSizeAxes = Axes.X,
Origin = Anchor.BottomCentre,
Anchor = Anchor.BottomCentre,
},

View File

@ -66,6 +66,8 @@ public ModSelectOverlay()
Waves.ThirdWaveColour = OsuColour.FromHex(@"005774");
Waves.FourthWaveColour = OsuColour.FromHex(@"003a4e");
RelativeSizeAxes = Axes.Both;
Padding = new MarginPadding { Horizontal = -OsuScreen.HORIZONTAL_OVERFLOW_PADDING };
Children = new Drawable[]

View File

@ -247,7 +247,6 @@ private void load(AudioManager audio, DialogOverlay dialog, OsuColour colours, S
BeatmapOptions = new BeatmapOptionsOverlay(),
ModSelect = new ModSelectOverlay
{
RelativeSizeAxes = Axes.Both,
Origin = Anchor.BottomCentre,
Anchor = Anchor.BottomCentre,
}