@babylonjs/node-editor 5.0.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65213,7 +65213,7 @@ class GraphCanvasComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
|
|
|
65213
65213
|
this._selectedLink = selection;
|
|
65214
65214
|
this._selectedPort = null;
|
|
65215
65215
|
}
|
|
65216
|
-
else if (selection instanceof _graphFrame__WEBPACK_IMPORTED_MODULE_7__.GraphFrame) {
|
|
65216
|
+
else if (selection instanceof _graphFrame__WEBPACK_IMPORTED_MODULE_7__.GraphFrame && !this._selectedNodes.length) {
|
|
65217
65217
|
if (selection.isCollapsed) {
|
|
65218
65218
|
if (this._ctrlKeyIsPressed || forceKeepSelection) {
|
|
65219
65219
|
if (this._selectedFrames.indexOf(selection) === -1) {
|
|
@@ -65238,6 +65238,7 @@ class GraphCanvasComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
|
|
|
65238
65238
|
if (this._ctrlKeyIsPressed || forceKeepSelection) {
|
|
65239
65239
|
if (this._selectedNodes.indexOf(selection) === -1) {
|
|
65240
65240
|
this._selectedNodes.push(selection);
|
|
65241
|
+
this._selectedFrames = [];
|
|
65241
65242
|
}
|
|
65242
65243
|
}
|
|
65243
65244
|
else {
|
|
@@ -65253,7 +65254,7 @@ class GraphCanvasComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
|
|
|
65253
65254
|
this._selectedLink = null;
|
|
65254
65255
|
this._selectedPort = selection;
|
|
65255
65256
|
}
|
|
65256
|
-
else {
|
|
65257
|
+
else if (selection instanceof _frameNodePort__WEBPACK_IMPORTED_MODULE_8__.FrameNodePort) {
|
|
65257
65258
|
this._selectedNodes = [];
|
|
65258
65259
|
this._selectedFrames = [];
|
|
65259
65260
|
this._selectedLink = null;
|