mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Do not reset last hover sound playback time on inactivity
This commit is contained in:
@ -31,7 +31,8 @@ namespace osu.Game.Tests.NonVisual
|
|||||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.LoginOverlayDisplayed).IsDefault);
|
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.LoginOverlayDisplayed).IsDefault);
|
||||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.MutedAudioNotificationShownOnce).IsDefault);
|
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.MutedAudioNotificationShownOnce).IsDefault);
|
||||||
Assert.IsTrue(sessionStatics.GetBindable<bool>(Static.LowBatteryNotificationShownOnce).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.LoginOverlayDisplayed).SetDefault();
|
||||||
GetBindable<bool>(Static.MutedAudioNotificationShownOnce).SetDefault();
|
GetBindable<bool>(Static.MutedAudioNotificationShownOnce).SetDefault();
|
||||||
GetBindable<bool>(Static.LowBatteryNotificationShownOnce).SetDefault();
|
GetBindable<bool>(Static.LowBatteryNotificationShownOnce).SetDefault();
|
||||||
GetBindable<double?>(Static.LastHoverSoundPlaybackTime).SetDefault();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user