1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-11 03:32:54 +08:00

Fixed double adjustment of hitobject beatlength

This commit is contained in:
Aurelian 2024-06-12 19:25:48 +02:00
parent 101887d315
commit 9906ab3449
2 changed files with 0 additions and 5 deletions

View File

@ -231,9 +231,6 @@ namespace osu.Game.Screens.Edit.Timing
timing.BeatLength = 60000 / (timing.BPM + adjust);
if (beatmap.AdjustNotesOnOffsetBPMChange.Value)
timing.SetHitObjectBPM(beatmap, 60000 / (timing.BPM - adjust));
beatmap.UpdateAllHitObjects();
}

View File

@ -48,10 +48,8 @@ namespace osu.Game.Screens.Edit.Timing
if (!Beatmap.AdjustNotesOnOffsetBPMChange.Value || ControlPoint.Value == null)
return;
ChangeHandler?.BeginChange();
ControlPoint.Value.SetHitObjectBPM(Beatmap, val.OldValue);
Beatmap.UpdateAllHitObjects();
ChangeHandler?.EndChange();
});
}