mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
Do not reset last hover sound playback time on inactivity
This commit is contained in:
parent
cd10af633c
commit
979624160f
@ -31,7 +31,8 @@ namespace osu.Game.Tests.NonVisual
|
||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.LoginOverlayDisplayed).IsDefault);
|
||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.MutedAudioNotificationShownOnce).IsDefault);
|
||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.LowBatteryNotificationShownOnce).IsDefault);
|
||||
Assert.IsTrue(sessionStatics.GetBindable<double?>(Static.LastHoverSoundPlaybackTime).IsDefault);
|
||||
// some statics should not reset despite inactivity.
|
||||
Assert.IsFalse(sessionStatics.GetBindable<double?>(Static.LastHoverSoundPlaybackTime).IsDefault);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,6 @@ namespace osu.Game.Configuration
|
||||
GetBindable<bool>(Static.LoginOverlayDisplayed).SetDefault();
|
||||
GetBindable<bool>(Static.MutedAudioNotificationShownOnce).SetDefault();
|
||||
GetBindable<bool>(Static.LowBatteryNotificationShownOnce).SetDefault();
|
||||
GetBindable<double?>(Static.LastHoverSoundPlaybackTime).SetDefault();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user