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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user