fixed IO collision
This commit is contained in:
parent
92049b4cd5
commit
7d0f1ce8c9
2 changed files with 4 additions and 4 deletions
|
@ -42,10 +42,10 @@ var DiagramNode = /** @class */ (function () {
|
|||
return true;
|
||||
};
|
||||
DiagramNode.prototype.getInputCircleXY = function () {
|
||||
return [this.x, this.y + this.height / 3];
|
||||
return [this.x, this.y + this.height / 2];
|
||||
};
|
||||
DiagramNode.prototype.getOutputCircleXY = function () {
|
||||
return [this.x + this.width, this.y + this.height / 3];
|
||||
return [this.x + this.width, this.y + this.height / 2];
|
||||
};
|
||||
DiagramNode.prototype.pointInInputCircle = function (x, y) {
|
||||
var _a = this.getInputCircleXY(), circleX = _a[0], circleY = _a[1];
|
||||
|
|
|
@ -63,11 +63,11 @@ class DiagramNode {
|
|||
}
|
||||
|
||||
getInputCircleXY(){
|
||||
return [this.x, this.y + this.height / 3]
|
||||
return [this.x, this.y + this.height / 2]
|
||||
}
|
||||
|
||||
getOutputCircleXY(){
|
||||
return [this.x + this.width, this.y + this.height / 3]
|
||||
return [this.x + this.width, this.y + this.height / 2]
|
||||
}
|
||||
|
||||
pointInInputCircle(x: number, y: number){
|
||||
|
|
Loading…
Add table
Reference in a new issue