mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 23:22:56 +08:00
Merge pull request #4738 from peppy/fix-replay-inactive-pause
Fix game pausing when made inactive while watching a replay
This commit is contained in:
commit
086f7a7314
@ -129,6 +129,7 @@ namespace osu.Game.Screens.Play
|
|||||||
private void replayLoadedValueChanged(ValueChangedEvent<bool> e)
|
private void replayLoadedValueChanged(ValueChangedEvent<bool> e)
|
||||||
{
|
{
|
||||||
PlayerSettingsOverlay.ReplayLoaded = e.NewValue;
|
PlayerSettingsOverlay.ReplayLoaded = e.NewValue;
|
||||||
|
HoldToQuit.PauseOnFocusLost = !e.NewValue;
|
||||||
|
|
||||||
if (e.NewValue)
|
if (e.NewValue)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user