mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Support HandleKeyboardInput, HandleMouseInput, CanReceiveKeyboardInput, CanReceiveMouseInput properties
This commit is contained in:
@ -42,7 +42,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
//don't allow clicking between transitions and don't make the chevron clickable
|
||||
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => Alpha == 1f && Text.ReceiveMouseInputAt(screenSpacePos);
|
||||
public override bool HandleInput => State == Visibility.Visible;
|
||||
public override bool HandleKeyboardInput => handleInput;
|
||||
public override bool HandleMouseInput => handleInput;
|
||||
private bool handleInput => State == Visibility.Visible;
|
||||
|
||||
private Visibility state;
|
||||
|
||||
|
Reference in New Issue
Block a user