mirror of https://github.com/ppy/osu
Ctrl+O for options.
This commit is contained in:
parent
4426a683ed
commit
97f3023cd9
|
@ -131,6 +131,16 @@ private bool globalHotkeyPressed(InputState state, KeyDownEventArgs args)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (state.Keyboard.ControlPressed)
|
||||
{
|
||||
switch (args.Key)
|
||||
{
|
||||
case Key.O:
|
||||
Options.ToggleVisibility();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return base.OnKeyDown(state, args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue