mirror of
https://github.com/osukey/osukey.git
synced 2025-06-24 12:47:56 +09:00
Fix regression causing binding settings to fail
This commit is contained in:
parent
754e072e01
commit
00fd5c8dbc
@ -40,6 +40,13 @@ namespace osu.Game.Graphics.UserInterface
|
||||
BorderThickness = 0;
|
||||
}
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
if (!HasFocus) return false;
|
||||
|
||||
return base.OnKeyDown(state, args);
|
||||
}
|
||||
|
||||
public override bool OnPressed(GlobalAction action)
|
||||
{
|
||||
if (action == GlobalAction.Back)
|
||||
|
Loading…
x
Reference in New Issue
Block a user