Only handle keys which create characters

This commit is contained in:
Dean Herbert
2020-11-10 16:32:58 +09:00
parent a2ef3aa21a
commit 5221a34929

View File

@ -160,8 +160,11 @@ namespace osu.Game.Overlays.BeatmapListing
protected override bool OnKeyDown(KeyDownEvent e) protected override bool OnKeyDown(KeyDownEvent e)
{ {
if (!base.OnKeyDown(e))
return false;
TypingStarted?.Invoke(); TypingStarted?.Invoke();
return base.OnKeyDown(e); return true;
} }
} }
} }