mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Simplify debounced update pathway
This commit is contained in:
@ -459,10 +459,14 @@ namespace osu.Game.Screens.Edit
|
||||
foreach (var h in objects)
|
||||
h.StartTime += timeOffset;
|
||||
|
||||
changeHandler.BeginChange();
|
||||
|
||||
editorBeatmap.SelectedHitObjects.Clear();
|
||||
|
||||
editorBeatmap.AddRange(objects);
|
||||
editorBeatmap.SelectedHitObjects.AddRange(objects);
|
||||
|
||||
changeHandler.EndChange();
|
||||
}
|
||||
|
||||
protected void Undo() => changeHandler.RestoreState(-1);
|
||||
|
Reference in New Issue
Block a user