mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 13:23:22 +08:00
Rename variable/text to be more verbose as to toggle purpose
This commit is contained in:
parent
1d82557d9f
commit
3346c06aca
@ -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,
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.PauseReplay:
|
||||
case GlobalAction.TogglePauseReplay:
|
||||
if (GameplayClockContainer.IsPaused.Value)
|
||||
GameplayClockContainer.Start();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user