mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-27 18:24:11 +00:00
Trigger onSelectionChange on deleteSelected (#539)
This commit is contained in:
@@ -3917,11 +3917,11 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
}
|
||||
}
|
||||
|
||||
this.selectedItems.clear()
|
||||
this.selected_nodes = {}
|
||||
this.selectedItems.clear()
|
||||
this.current_node = null
|
||||
this.highlighted_links = {}
|
||||
this.onSelectionChange?.(this.selected_nodes)
|
||||
this.setDirty(true)
|
||||
graph.afterChange()
|
||||
this.emitAfterChange()
|
||||
|
||||
Reference in New Issue
Block a user