Fix beatmap options absorbing input from toolbar ruleset selector

This commit is contained in:
Joehu 2020-09-14 11:22:16 -07:00
parent a09bd787f0
commit 57610ddad5
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ protected override void PopOut()
protected override bool OnKeyDown(KeyDownEvent e)
{
// don't absorb control as ToolbarRulesetSelector uses control + number to navigate
if (e.ControlPressed) return false;
if (!e.Repeat && e.Key >= Key.Number1 && e.Key <= Key.Number9)
{
int requested = e.Key - Key.Number1;