mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
add onRemove invoke to removeWidget method (#5102)
This commit is contained in:
@@ -1925,6 +1925,7 @@ export class LGraphNode
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
widget.onRemove?.()
|
||||||
this.widgets.splice(widgetIndex, 1)
|
this.widgets.splice(widgetIndex, 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user