From d2d412f6eb4fbe7fc6357e81d287b4b70b90c00c Mon Sep 17 00:00:00 2001 From: Carolina Herbster Date: Wed, 15 Jun 2022 15:53:12 -0300 Subject: [PATCH] Add meta key to the possible multi selection keys on NME --- .../tools/nodeEditor/src/diagram/graphCanvas.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/tools/nodeEditor/src/diagram/graphCanvas.tsx b/packages/tools/nodeEditor/src/diagram/graphCanvas.tsx index a850d84d37f..18cd8f0d6ea 100644 --- a/packages/tools/nodeEditor/src/diagram/graphCanvas.tsx +++ b/packages/tools/nodeEditor/src/diagram/graphCanvas.tsx @@ -71,7 +71,7 @@ export class GraphCanvasComponent extends React.Component { this._altKeyIsPressed = evt.altKey; - this._ctrlKeyIsPressed = evt.ctrlKey; + this._multiKeyIsPressed = evt.ctrlKey || evt.metaKey; }, false ); @@ -280,7 +280,7 @@ export class GraphCanvasComponent extends React.Component { this._altKeyIsPressed = false; - this._ctrlKeyIsPressed = false; + this._multiKeyIsPressed = false; }, false ); @@ -369,7 +369,7 @@ export class GraphCanvasComponent extends React.Component