Apply conditionals directly rather than using an in-between property

This commit is contained in:
Dean Herbert
2018-01-16 20:34:14 +09:00
parent e7a0a02466
commit 5e1cd8ddc4
5 changed files with 11 additions and 15 deletions

View File

@ -199,9 +199,8 @@ namespace osu.Game.Screens.Menu
private MenuState state;
public override bool HandleKeyboardInput => handleInput;
public override bool HandleMouseInput => handleInput;
private bool handleInput=> state != MenuState.Exit;
public override bool HandleKeyboardInput => state != MenuState.Exit;
public override bool HandleMouseInput => state != MenuState.Exit;
public MenuState State
{