Use both OnKeyDown and GlobalAction.Back

This commit is contained in:
Roman Kapustin
2018-05-14 22:09:09 +03:00
parent e802b722f0
commit f2f2fb8c73
4 changed files with 21 additions and 0 deletions

View File

@ -26,6 +26,8 @@ namespace osu.Game.Screens.Menu
public override bool ShowOverlaysOnEnter => buttons.State != MenuState.Initial;
protected override bool AllowBackButton => buttons.State != MenuState.Initial;
private readonly BackgroundScreenDefault background;
private Screen songSelect;