mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 00:47:20 +08: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;
|
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)
|
public override bool OnPressed(GlobalAction action)
|
||||||
{
|
{
|
||||||
if (action == GlobalAction.Back)
|
if (action == GlobalAction.Back)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user