Skip to content

Commit

Permalink
change selection only if node is not selected
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Oct 2, 2024
1 parent 56a100e commit 274dc74
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ qx.Class.define("osparc.workbench.WorkbenchUI", {
nodeUI.addListener("requestOpenLogger", () => this.fireDataEvent("requestOpenLogger", nodeUI.getNodeId()), this);

nodeUI.addListener("nodeMovingStart", () => {
this.__selectNode(nodeUI);
if (!this.getSelectedNodeIDs().includes(nodeUI.getNodeId())) {
this.__selectNode(nodeUI);
}
this.__itemStartedMoving();
}, this);

Expand Down

0 comments on commit 274dc74

Please sign in to comment.