mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Allow toggling focus via binding
This commit is contained in:
@ -25,6 +25,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
if (allowImmediateFocus) GetContainingInputManager().ChangeFocus(this);
|
||||
}
|
||||
|
||||
public new void KillFocus() => base.KillFocus();
|
||||
|
||||
public bool HoldFocus
|
||||
{
|
||||
get => allowImmediateFocus && focus;
|
||||
|
Reference in New Issue
Block a user