mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 15:23:14 +08:00
Actually use exposed property
This commit is contained in:
parent
bcdd1fb183
commit
d92c905600
@ -62,7 +62,7 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
new Drawable[]
|
||||
{
|
||||
new SampleScreenContainer(new PinnedMainMenu()),
|
||||
new SampleScreenContainer(new PlaySongSelect()),
|
||||
new SampleScreenContainer(new NestedSongSelect()),
|
||||
},
|
||||
// TODO: add more screens here in the future (gameplay / results)
|
||||
// requires a bit more consideration to isolate their behaviour from the "parent" game.
|
||||
@ -95,6 +95,11 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
}
|
||||
}
|
||||
|
||||
private class NestedSongSelect : PlaySongSelect
|
||||
{
|
||||
protected override bool ControlGlobalMusic => false;
|
||||
}
|
||||
|
||||
private class PinnedMainMenu : MainMenu
|
||||
{
|
||||
public override void OnEntering(ScreenTransitionEvent e)
|
||||
|
Loading…
Reference in New Issue
Block a user