mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Only handle keys which create characters
This commit is contained in:
parent
a2ef3aa21a
commit
5221a34929
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user