Skip to content

Commit

Permalink
Actually use exposed property
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Apr 24, 2022
1 parent bcdd1fb commit d92c905
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion osu.Game/Overlays/FirstRunSetup/ScreenUIScale.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void load(OsuConfigManager config)
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.
Expand Down Expand Up @@ -95,6 +95,11 @@ protected override void Update()
}
}

private class NestedSongSelect : PlaySongSelect
{
protected override bool ControlGlobalMusic => false;
}

private class PinnedMainMenu : MainMenu
{
public override void OnEntering(ScreenTransitionEvent e)
Expand Down

0 comments on commit d92c905

Please sign in to comment.