1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 12:23:04 +08:00

Fix TextBox always taking keyboard focus.

This commit is contained in:
Dean Herbert
2016-09-01 22:55:02 +09:00
Unverified
parent 600223a65c
commit 49a4d64fad
+2 -2
View File
@@ -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;