add onRemove invoke to removeWidget method (#5102)

This commit is contained in:
Christian Byrne
2025-08-19 10:39:20 -07:00
committed by GitHub
parent 2240645a7d
commit 28d74be363

View File

@@ -1925,6 +1925,7 @@ export class LGraphNode
}
}
widget.onRemove?.()
this.widgets.splice(widgetIndex, 1)
}