1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Call widget onRemove to remove element

This commit is contained in:
pythongosssss
2023-11-23 19:43:55 +00:00
parent a657f96c5c
commit 4d2437e681

View File

@@ -544,6 +544,7 @@ export class ComfyApp {
}
if (widgetIdx > -1) {
this.widgets[widgetIdx].onRemove?.();
this.widgets.splice(widgetIdx, 1);
}