mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Canvas: Fix connection hyperbolic bug (#87002)
* Canvas: Connection original persistence check * Canvas: Fix connection hyperbolic bug
This commit is contained in:
parent
8d8f19b84f
commit
49fbe970fb
@ -259,8 +259,8 @@ export const ConnectionSVG = ({
|
||||
if (index < vertices.length - 1) {
|
||||
// Not also the last point
|
||||
const nextVertex = vertices[index + 1];
|
||||
Xn = nextVertex.x * xDist + x1;
|
||||
Yn = nextVertex.y * yDist + y1;
|
||||
Xn = nextVertex.x * xDist + xStart;
|
||||
Yn = nextVertex.y * yDist + yStart;
|
||||
}
|
||||
|
||||
// Length of next segment
|
||||
|
Loading…
Reference in New Issue
Block a user