1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:43:00 +08:00

Rename variable/text to be more verbose as to toggle purpose

This commit is contained in:
Dean Herbert 2020-11-26 20:04:44 +09:00
parent 1d82557d9f
commit 3346c06aca
2 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ namespace osu.Game.Input.Bindings
new KeyBinding(new[] { InputKey.Control, InputKey.Plus }, GlobalAction.IncreaseScrollSpeed),
new KeyBinding(new[] { InputKey.Control, InputKey.Minus }, GlobalAction.DecreaseScrollSpeed),
new KeyBinding(InputKey.MouseMiddle, GlobalAction.PauseGameplay),
new KeyBinding(InputKey.Space, GlobalAction.PauseReplay),
new KeyBinding(InputKey.Space, GlobalAction.TogglePauseReplay),
new KeyBinding(InputKey.Control, GlobalAction.HoldForHUD),
};
@ -198,7 +198,7 @@ namespace osu.Game.Input.Bindings
[Description("Random Skin")]
RandomSkin,
[Description("Pause Replay")]
PauseReplay,
[Description("Pause / resume replay")]
TogglePauseReplay,
}
}

View File

@ -42,7 +42,7 @@ namespace osu.Game.Screens.Play
{
switch (action)
{
case GlobalAction.PauseReplay:
case GlobalAction.TogglePauseReplay:
if (GameplayClockContainer.IsPaused.Value)
GameplayClockContainer.Start();
else