1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 02:29:54 +08:00

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
Unverified
parent e7a0a02466
commit 5e1cd8ddc4
5 changed files with 11 additions and 15 deletions
+2 -3
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
{