mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 00:52:59 +08:00
Toogle visibility without ctrl pressed
This commit is contained in:
parent
bedcf04043
commit
b5a6d73104
@ -48,14 +48,11 @@ namespace osu.Game.Screens.Play.ReplaySettings
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
|
||||
if (state.Keyboard.ControlPressed)
|
||||
switch (args.Key)
|
||||
{
|
||||
switch (args.Key)
|
||||
{
|
||||
case Key.H:
|
||||
toogleVisibility();
|
||||
return true;
|
||||
}
|
||||
case Key.H:
|
||||
toogleVisibility();
|
||||
return true;
|
||||
}
|
||||
|
||||
return base.OnKeyDown(state, args);
|
||||
|
Loading…
Reference in New Issue
Block a user