Fix TextBox always taking keyboard focus.

This commit is contained in:
Dean Herbert 2016-09-01 22:55:02 +09:00
parent 600223a65c
commit 49a4d64fad

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;