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:
parent
3d5a04ac99
commit
2db55f9379
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user