Commit 4d2437e6 authored by pythongosssss's avatar pythongosssss
Browse files

Call widget onRemove to remove element

parent a657f96c
......@@ -544,6 +544,7 @@ export class ComfyApp {
}
if (widgetIdx > -1) {
this.widgets[widgetIdx].onRemove?.();
this.widgets.splice(widgetIdx, 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment