Skip to content

Commit

Permalink
Canvas: Fix connection hyperbolic bug (#87002)
Browse files Browse the repository at this point in the history
* Canvas: Connection original persistence check

* Canvas: Fix connection hyperbolic bug

(cherry picked from commit 49fbe97)
  • Loading branch information
drew08t authored and grafana-delivery-bot[bot] committed Apr 29, 2024
1 parent 73f86f1 commit c2f1680
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -263,8 +263,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
Expand Down

0 comments on commit c2f1680

Please sign in to comment.