mirror of https://github.com/ppy/osu
Fix beatmap options absorbing input from toolbar ruleset selector
This commit is contained in:
parent
a09bd787f0
commit
57610ddad5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue