1
0
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:
Joehu 2020-09-14 11:22:16 -07:00
parent a09bd787f0
commit 57610ddad5

View File

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