preventing 'hover' of output when connecting
This commit is contained in:
parent
414d7a2877
commit
9c0913bdb4
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ var Diagrams = /** @class */ (function () {
|
|||
this.nodeHover = node;
|
||||
break;
|
||||
}
|
||||
else if (node.pointInOutputCircle(this.worldX, this.worldY)) {
|
||||
else if (this.makingConnectionNode == null && node.pointInOutputCircle(this.worldX, this.worldY)) {
|
||||
node.outputHover = true;
|
||||
this.nodeHover = node;
|
||||
break;
|
||||
|
|
|
@ -167,7 +167,7 @@ class Diagrams {
|
|||
node.inputHover = true;
|
||||
this.nodeHover = node;
|
||||
break;
|
||||
} else if (node.pointInOutputCircle(this.worldX, this.worldY)){
|
||||
} else if (this.makingConnectionNode == null && node.pointInOutputCircle(this.worldX, this.worldY)){
|
||||
node.outputHover = true;
|
||||
this.nodeHover = node;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue