1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:42:54 +08:00

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)
{
if (!base.OnKeyDown(e))
return false;
TypingStarted?.Invoke();
return base.OnKeyDown(e);
return true;
}
}
}