1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 02:31:18 +08:00

Add note about beatmap offset not being reapplied correctly on ChangeSource

This commit is contained in:
Dean Herbert
2023-09-21 19:53:55 +09:00
Unverified
parent a1e298930c
commit 0200b63fd3
+1
View File
@@ -95,6 +95,7 @@ namespace osu.Game.Beatmaps
userAudioOffset = config.GetBindable<double>(OsuSetting.AudioOffset);
userAudioOffset.BindValueChanged(offset => userGlobalOffsetClock.Offset = offset.NewValue, true);
// TODO: this doesn't update when using ChangeSource() to change beatmap.
beatmapOffsetSubscription = realm.SubscribeToPropertyChanged(
r => r.Find<BeatmapInfo>(beatmap.Value.BeatmapInfo.ID)?.UserSettings,
settings => settings.Offset,