mirror of https://github.com/ppy/osu
Fix mod select overlay not showing up in test
This commit is contained in:
parent
2d42a83bb9
commit
609ee26030
|
@ -60,7 +60,6 @@ public void SetUp() => Schedule(() =>
|
|||
{
|
||||
modSelect = new TestModSelectOverlay
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
},
|
||||
|
|
|
@ -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[]
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue