mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-23 07:50:15 +00:00
Fix group deselected on title click (#230)
This commit is contained in:
@@ -2820,7 +2820,7 @@ export class LGraphCanvas {
|
||||
this.visible_nodes
|
||||
)
|
||||
|
||||
if (!node && e.click_time < 300) {
|
||||
if (!node && e.click_time < 300 && !this.graph.groups.some(x => x.isPointInTitlebar(e.canvasX, e.canvasY))) {
|
||||
this.deselectAllNodes()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user