mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Use batch change application in many places that can benefit from it
This commit is contained in:
@ -239,10 +239,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
private void deleteSelected()
|
||||
{
|
||||
ChangeHandler?.BeginChange();
|
||||
|
||||
foreach (var h in selectedBlueprints.ToList())
|
||||
EditorBeatmap?.Remove(h.HitObject);
|
||||
|
||||
EditorBeatmap?.RemoveRange(selectedBlueprints.Select(b => b.HitObject));
|
||||
ChangeHandler?.EndChange();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user