mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 12:43:21 +08:00
Fix mod select overlay not showing up in test
This commit is contained in:
parent
2d42a83bb9
commit
609ee26030
@ -60,7 +60,6 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
{
|
{
|
||||||
modSelect = new TestModSelectOverlay
|
modSelect = new TestModSelectOverlay
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
Origin = Anchor.BottomCentre,
|
Origin = Anchor.BottomCentre,
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
},
|
},
|
||||||
|
@ -66,6 +66,8 @@ namespace osu.Game.Overlays.Mods
|
|||||||
Waves.ThirdWaveColour = OsuColour.FromHex(@"005774");
|
Waves.ThirdWaveColour = OsuColour.FromHex(@"005774");
|
||||||
Waves.FourthWaveColour = OsuColour.FromHex(@"003a4e");
|
Waves.FourthWaveColour = OsuColour.FromHex(@"003a4e");
|
||||||
|
|
||||||
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
Padding = new MarginPadding { Horizontal = -OsuScreen.HORIZONTAL_OVERFLOW_PADDING };
|
Padding = new MarginPadding { Horizontal = -OsuScreen.HORIZONTAL_OVERFLOW_PADDING };
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
@ -247,7 +247,6 @@ namespace osu.Game.Screens.Select
|
|||||||
BeatmapOptions = new BeatmapOptionsOverlay(),
|
BeatmapOptions = new BeatmapOptionsOverlay(),
|
||||||
ModSelect = new ModSelectOverlay
|
ModSelect = new ModSelectOverlay
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Origin = Anchor.BottomCentre,
|
Origin = Anchor.BottomCentre,
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user