mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 13:40:25 +00:00
Clear selectedItems on canvas clear (#543)
This commit is contained in:
@@ -1590,6 +1590,8 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
|
||||
this.selected_nodes = {}
|
||||
this.selected_group = null
|
||||
this.selectedItems.clear()
|
||||
this.onSelectionChange?.(this.selected_nodes)
|
||||
|
||||
this.visible_nodes = []
|
||||
this.node_over = null
|
||||
|
||||
Reference in New Issue
Block a user