1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 18:32:54 +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,15 +48,12 @@ namespace osu.Game.Screens.Play.ReplaySettings
{ {
if (args.Repeat) return false; if (args.Repeat) return false;
if (state.Keyboard.ControlPressed)
{
switch (args.Key) switch (args.Key)
{ {
case Key.H: case Key.H:
toogleVisibility(); toogleVisibility();
return true; return true;
} }
}
return base.OnKeyDown(state, args); return base.OnKeyDown(state, args);
} }