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