Ctrl+O for options.

This commit is contained in:
Dean Herbert 2016-11-08 19:27:37 +09:00
parent 4426a683ed
commit 97f3023cd9
1 changed files with 10 additions and 0 deletions

View File

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