1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

Add middle mouse to toggle pause replay instead of using pause gameplay keybinds

This commit is contained in:
Joseph Madamba 2023-01-05 13:05:20 -08:00
parent 93a57b6871
commit 45bae5d424
2 changed files with 1 additions and 1 deletions

View File

@ -113,6 +113,7 @@ namespace osu.Game.Input.Bindings
new KeyBinding(new[] { InputKey.Shift, InputKey.Tab }, GlobalAction.ToggleInGameInterface),
new KeyBinding(InputKey.MouseMiddle, GlobalAction.PauseGameplay),
new KeyBinding(InputKey.Space, GlobalAction.TogglePauseReplay),
new KeyBinding(InputKey.MouseMiddle, GlobalAction.TogglePauseReplay),
new KeyBinding(InputKey.Left, GlobalAction.SeekReplayBackward),
new KeyBinding(InputKey.Right, GlobalAction.SeekReplayForward),
new KeyBinding(InputKey.Control, GlobalAction.HoldForHUD),

View File

@ -81,7 +81,6 @@ namespace osu.Game.Screens.Play
return true;
case GlobalAction.TogglePauseReplay:
case GlobalAction.PauseGameplay:
if (GameplayClockContainer.IsPaused.Value)
GameplayClockContainer.Start();
else