mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 20:07:18 +09:00
Trim unnecessary array copy
This commit is contained in:
parent
743b4fbff1
commit
3d3c5028e6
@ -243,7 +243,7 @@ namespace osu.Game.Skinning.Editor
|
||||
|
||||
public void DeleteItems(ISkinnableDrawable[] items)
|
||||
{
|
||||
foreach (var item in items.ToArray())
|
||||
foreach (var item in items)
|
||||
availableTargets.FirstOrDefault(t => t.Components.Contains(item))?.Remove(item);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user