1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +08:00

Toogle visibility without ctrl pressed

This commit is contained in:
EVAST9919 2017-05-27 02:38:29 +03:00
parent bedcf04043
commit b5a6d73104

View File

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