|
@@ -161,12 +161,12 @@ export class GraphNode {
|
|
this._isSelected = value;
|
|
this._isSelected = value;
|
|
|
|
|
|
if (!value) {
|
|
if (!value) {
|
|
- this._visual.classList.remove("selected");
|
|
|
|
|
|
+ /*this._visual.classList.remove("selected");
|
|
let indexInSelection = this._ownerCanvas.selectedNodes.indexOf(this);
|
|
let indexInSelection = this._ownerCanvas.selectedNodes.indexOf(this);
|
|
|
|
|
|
if (indexInSelection > -1) {
|
|
if (indexInSelection > -1) {
|
|
this._ownerCanvas.selectedNodes.splice(indexInSelection, 1);
|
|
this._ownerCanvas.selectedNodes.splice(indexInSelection, 1);
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
} else {
|
|
} else {
|
|
this._globalState.onSelectionChangedObservable.notifyObservers(this);
|
|
this._globalState.onSelectionChangedObservable.notifyObservers(this);
|
|
}
|
|
}
|