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
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}
}
}