mirror of
https://github.com/ppy/osu.git
synced 2025-02-04 15:33:10 +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)
|
if (!editorClock.IsRunning && wasAtStart)
|
||||||
editorClock.Seek(newOffset);
|
editorClock.Seek(newOffset);
|
||||||
|
|
||||||
|
foreach (HitObject hitObject in hitObjectsInRange)
|
||||||
|
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void adjustBpm(double adjust)
|
private void adjustBpm(double adjust)
|
||||||
@ -279,6 +282,9 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
}
|
}
|
||||||
|
|
||||||
timing.BeatLength = newBeatLength;
|
timing.BeatLength = newBeatLength;
|
||||||
|
|
||||||
|
foreach (HitObject hitObject in hitObjectsInRange)
|
||||||
|
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.Difficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
private partial class InlineButton : OsuButton
|
private partial class InlineButton : OsuButton
|
||||||
|
Loading…
Reference in New Issue
Block a user