mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Don't limit keyboard input based on menu button scale
This commit is contained in:
parent
39af9321cf
commit
e7a0a02466
@ -222,9 +222,8 @@ namespace osu.Game.Screens.Menu
|
||||
boxHoverLayer.FadeOut(800, Easing.OutExpo);
|
||||
}
|
||||
|
||||
public override bool HandleKeyboardInput => handleInput;
|
||||
public override bool HandleMouseInput => handleInput;
|
||||
private bool handleInput => state != ButtonState.Exploded && box.Scale.X >= 0.8f;
|
||||
public override bool HandleKeyboardInput => state != ButtonState.Exploded;
|
||||
public override bool HandleMouseInput => state != ButtonState.Exploded && box.Scale.X >= 0.8f;
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user