Move toolbar showing and overlay activation to OsuGame

Now exposed through IOsuScreen.
This commit is contained in:
smoogipoo
2019-01-28 15:41:54 +09:00
parent 117703374e
commit 7b1c1f3728
13 changed files with 56 additions and 37 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Menu
{
private readonly ButtonSystem buttons;
protected override bool HideOverlaysOnEnter => buttons.State == ButtonSystemState.Initial;
public override bool HideOverlaysOnEnter => buttons.State == ButtonSystemState.Initial;
protected override bool AllowBackButton => buttons.State != ButtonSystemState.Initial;