mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Fix beatmap options absorbing input from toolbar ruleset selector
This commit is contained in:
parent
a09bd787f0
commit
57610ddad5
@ -110,6 +110,9 @@ namespace osu.Game.Screens.Select.Options
|
||||
|
||||
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
Block a user