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:
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.Plus }, GlobalAction.IncreaseScrollSpeed),
|
||||||
new KeyBinding(new[] { InputKey.Control, InputKey.Minus }, GlobalAction.DecreaseScrollSpeed),
|
new KeyBinding(new[] { InputKey.Control, InputKey.Minus }, GlobalAction.DecreaseScrollSpeed),
|
||||||
new KeyBinding(InputKey.MouseMiddle, GlobalAction.PauseGameplay),
|
new KeyBinding(InputKey.MouseMiddle, GlobalAction.PauseGameplay),
|
||||||
new KeyBinding(InputKey.Space, GlobalAction.PauseReplay),
|
new KeyBinding(InputKey.Space, GlobalAction.TogglePauseReplay),
|
||||||
new KeyBinding(InputKey.Control, GlobalAction.HoldForHUD),
|
new KeyBinding(InputKey.Control, GlobalAction.HoldForHUD),
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ namespace osu.Game.Input.Bindings
|
|||||||
[Description("Random Skin")]
|
[Description("Random Skin")]
|
||||||
RandomSkin,
|
RandomSkin,
|
||||||
|
|
||||||
[Description("Pause Replay")]
|
[Description("Pause / resume replay")]
|
||||||
PauseReplay,
|
TogglePauseReplay,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
case GlobalAction.PauseReplay:
|
case GlobalAction.TogglePauseReplay:
|
||||||
if (GameplayClockContainer.IsPaused.Value)
|
if (GameplayClockContainer.IsPaused.Value)
|
||||||
GameplayClockContainer.Start();
|
GameplayClockContainer.Start();
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user