mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00:00
Fix TextBox always taking keyboard focus.
This commit is contained in:
parent
600223a65c
commit
49a4d64fad
@ -372,8 +372,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
//if (!HasFocus)
|
||||
// return false;
|
||||
if (!HasFocus)
|
||||
return false;
|
||||
|
||||
//if (backingTextbox?.ImeActive == true) return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user