mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 21:12:55 +08: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);
|
boxHoverLayer.FadeOut(800, Easing.OutExpo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool HandleKeyboardInput => handleInput;
|
public override bool HandleKeyboardInput => state != ButtonState.Exploded;
|
||||||
public override bool HandleMouseInput => handleInput;
|
public override bool HandleMouseInput => state != ButtonState.Exploded && box.Scale.X >= 0.8f;
|
||||||
private bool handleInput => state != ButtonState.Exploded && box.Scale.X >= 0.8f;
|
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user