Handle mouse back button using OnMouseDown override instead of using GlobalAction

This commit is contained in:
Roman Kapustin
2018-05-08 00:22:11 +03:00
parent b08b24b6da
commit 44bbb8700e
7 changed files with 43 additions and 44 deletions

View File

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