Fix group deselected on title click (#230)

This commit is contained in:
filtered
2024-10-28 12:10:08 +11:00
committed by GitHub
parent 92ac193640
commit 83cb795301
2 changed files with 7 additions and 2 deletions

View File

@@ -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()
}