Moved label for connections.
This commit is contained in:
parent
b198605643
commit
c00fc55462
@ -350,6 +350,7 @@ export class DiagramObject {
|
|||||||
})
|
})
|
||||||
curve.setParent(null);
|
curve.setParent(null);
|
||||||
curve.setPoints([p]);
|
curve.setPoints([p]);
|
||||||
|
this._baseTransform.position = c.getPoints()[Math.floor(c.getPoints().length / 2)];
|
||||||
this._toPosition = this._toMesh.absolutePosition.length();
|
this._toPosition = this._toMesh.absolutePosition.length();
|
||||||
this._fromPosition = this._fromMesh.absolutePosition.length();
|
this._fromPosition = this._fromMesh.absolutePosition.length();
|
||||||
curve.setParent(this._baseTransform);
|
curve.setParent(this._baseTransform);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user