Canvas: Fix connection hyperbolic bug (#87002)
* Canvas: Connection original persistence check * Canvas: Fix connection hyperbolic bug
This commit is contained in:
@@ -259,8 +259,8 @@ export const ConnectionSVG = ({
|
|||||||
if (index < vertices.length - 1) {
|
if (index < vertices.length - 1) {
|
||||||
// Not also the last point
|
// Not also the last point
|
||||||
const nextVertex = vertices[index + 1];
|
const nextVertex = vertices[index + 1];
|
||||||
Xn = nextVertex.x * xDist + x1;
|
Xn = nextVertex.x * xDist + xStart;
|
||||||
Yn = nextVertex.y * yDist + y1;
|
Yn = nextVertex.y * yDist + yStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Length of next segment
|
// Length of next segment
|
||||||
|
|||||||
Reference in New Issue
Block a user