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

Change HitObject update call to use established patterns

This commit is contained in:
Aurelian 2024-06-07 08:21:09 +02:00
parent 3d5a04ac99
commit 2db55f9379

View File

@ -254,7 +254,7 @@ namespace osu.Game.Screens.Edit.Timing
editorClock.Seek(newOffset); editorClock.Seek(newOffset);
foreach (HitObject hitObject in hitObjectsInRange) foreach (HitObject hitObject in hitObjectsInRange)
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty); beatmap.Update(hitObject);
} }
private void adjustBpm(double adjust) private void adjustBpm(double adjust)
@ -284,7 +284,7 @@ namespace osu.Game.Screens.Edit.Timing
timing.BeatLength = newBeatLength; timing.BeatLength = newBeatLength;
foreach (HitObject hitObject in hitObjectsInRange) foreach (HitObject hitObject in hitObjectsInRange)
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty); beatmap.Update(hitObject);
} }
private partial class InlineButton : OsuButton private partial class InlineButton : OsuButton