1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-25 22:12:57 +08:00

HitObject has defaults applied on bpm/offset adjustment

This commit is contained in:
Aurelian 2024-06-05 17:57:44 +02:00
parent 09f3fb9eee
commit 3d5a04ac99

View File

@ -252,6 +252,9 @@ namespace osu.Game.Screens.Edit.Timing
if (!editorClock.IsRunning && wasAtStart)
editorClock.Seek(newOffset);
foreach (HitObject hitObject in hitObjectsInRange)
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
}
private void adjustBpm(double adjust)
@ -279,6 +282,9 @@ namespace osu.Game.Screens.Edit.Timing
}
timing.BeatLength = newBeatLength;
foreach (HitObject hitObject in hitObjectsInRange)
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
}
private partial class InlineButton : OsuButton