Fix executing class

This commit is contained in:
space-nuko
2023-04-30 14:03:12 -07:00
parent 59cbff1648
commit 1b64c3a502
3 changed files with 18 additions and 23 deletions

View File

@@ -265,6 +265,7 @@ function nodeRemoved(node: LGraphNode) {
let delContainers = []
// Remove widget from all children lists
// TODO just use parent.children
for (const entry of Object.values(state.allItems)) {
if (entry.children?.length === 0 && isAssociatedContainer(entry.dragItem))
delContainers.push(entry.dragItem.id)