Skip to content

Commit

Permalink
[v11.0.x] Canvas: Fix connection hyperbolic bug (#87066)
Browse files Browse the repository at this point in the history
Canvas: Fix connection hyperbolic bug (#87002)

* Canvas: Connection original persistence check

* Canvas: Fix connection hyperbolic bug

(cherry picked from commit 49fbe97)

Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
  • Loading branch information
grafana-delivery-bot[bot] and drew08t committed Apr 29, 2024
1 parent 73f86f1 commit 877ce6e
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 877ce6e

Please sign in to comment.