mirror of
https://github.com/ppy/osu.git
synced 2025-01-10 23:59:19 +08:00
Change HitObject update call to use established patterns
This commit is contained in:
parent
3d5a04ac99
commit
2db55f9379
@ -254,7 +254,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
editorClock.Seek(newOffset);
|
||||
|
||||
foreach (HitObject hitObject in hitObjectsInRange)
|
||||
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
|
||||
beatmap.Update(hitObject);
|
||||
}
|
||||
|
||||
private void adjustBpm(double adjust)
|
||||
@ -284,7 +284,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
timing.BeatLength = newBeatLength;
|
||||
|
||||
foreach (HitObject hitObject in hitObjectsInRange)
|
||||
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
|
||||
beatmap.Update(hitObject);
|
||||
}
|
||||
|
||||
private partial class InlineButton : OsuButton
|
||||
|
Loading…
Reference in New Issue
Block a user