mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 08:59:57 +08:00
Fix regression causing binding settings to fail
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user