mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Fix blueprints not hiding when deleting elements
This commit is contained in:
parent
8d056ff38f
commit
cdef07b2ee
@ -20,7 +20,10 @@ namespace osu.Game.Skinning.Editor
|
||||
protected override void DeleteItems(IEnumerable<ISkinnableComponent> items)
|
||||
{
|
||||
foreach (var i in items)
|
||||
i.Hide();
|
||||
{
|
||||
((Drawable)i).Expire();
|
||||
SelectedItems.Remove(i);
|
||||
}
|
||||
}
|
||||
|
||||
protected override IEnumerable<MenuItem> GetContextMenuItemsForSelection(IEnumerable<SelectionBlueprint<ISkinnableComponent>> selection)
|
||||
|
Loading…
Reference in New Issue
Block a user