mirror of https://github.com/ppy/osu
Only handle keys which create characters
This commit is contained in:
parent
a2ef3aa21a
commit
5221a34929
|
@ -160,8 +160,11 @@ public BeatmapSearchTextBox()
|
|||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (!base.OnKeyDown(e))
|
||||
return false;
|
||||
|
||||
TypingStarted?.Invoke();
|
||||
return base.OnKeyDown(e);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue