Skip to content

Commit

Permalink
fix(connectors.Curve): wrong enum mapping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Geliogabalus committed Sep 12, 2023
1 parent a364d87 commit e291c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectors/curve.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ function getTargetTangentDirection(linkView, route, direction, options) {
case TangentDirections.LEFT:
return new Point(-1, 0);
case TangentDirections.RIGHT:
return new Point(0, 1);
return new Point(1, 0);
case TangentDirections.AUTO:
return getAutoTargetDirection(linkView, route, options);
case TangentDirections.CLOSEST_POINT:
Expand Down

0 comments on commit e291c17

Please sign in to comment.