From 955dec36f275a7714c8f341641a3debe08c0cba8 Mon Sep 17 00:00:00 2001 From: bymyself Date: Wed, 2 Oct 2024 07:41:41 -0700 Subject: [PATCH] Fix adding node to selection with ctrl click on mac (#189) --- src/LGraphCanvas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index b930d9d44..3185d4104 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -2552,7 +2552,7 @@ export class LGraphCanvas { } } else { // will select of update selection - this.selectNodes([node], e.shiftKey || e.ctrlKey); // add to selection add to selection with ctrlKey or shiftKey + this.selectNodes([node], e.shiftKey || e.ctrlKey || e.metaKey); // add to selection add to selection with ctrlKey or shiftKey } }