small fix
This commit is contained in:
@@ -69,11 +69,7 @@ namespace Ichni.Editor
|
||||
tabMainRect.anchoredPosition = new Vector2(posX, tabMainRect.anchoredPosition.y);
|
||||
tabButton.onClick.AddListener(SelectGameElement);
|
||||
expandButton.onClick.AddListener(ExpandOrFold);
|
||||
deleteButton.onConfirm = () =>
|
||||
{
|
||||
connectedGameElement.parentElement.childElementList.Remove(connectedGameElement);
|
||||
connectedGameElement.Delete();
|
||||
};
|
||||
deleteButton.onConfirm = () => EditorManager.instance.operationManager.CopyPasteDeleteModule.DeleteElement(connectedGameElement);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user