mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Fix blueprints not hiding when deleting elements
This commit is contained in:
@ -20,7 +20,10 @@ namespace osu.Game.Skinning.Editor
|
|||||||
protected override void DeleteItems(IEnumerable<ISkinnableComponent> items)
|
protected override void DeleteItems(IEnumerable<ISkinnableComponent> items)
|
||||||
{
|
{
|
||||||
foreach (var i in items)
|
foreach (var i in items)
|
||||||
i.Hide();
|
{
|
||||||
|
((Drawable)i).Expire();
|
||||||
|
SelectedItems.Remove(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override IEnumerable<MenuItem> GetContextMenuItemsForSelection(IEnumerable<SelectionBlueprint<ISkinnableComponent>> selection)
|
protected override IEnumerable<MenuItem> GetContextMenuItemsForSelection(IEnumerable<SelectionBlueprint<ISkinnableComponent>> selection)
|
||||||
|
Reference in New Issue
Block a user