Skip to content

Commit

Permalink
fix(target arrow): Correctly determine incoming point for target conn…
Browse files Browse the repository at this point in the history
…ectors (#192)
  • Loading branch information
jeff-phillips-18 authored May 15, 2024
1 parent 814ec40 commit c089767
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const DefaultConnectorTerminal: React.FunctionComponent<EdgeConnectorArrowProps>
}
const bendPoints = edge.getBendpoints();
const defaultStartPoint = isTarget
? edge.getBendpoints[bendPoints.length - 1] || edge.getStartPoint()
? bendPoints[bendPoints.length - 1] || edge.getStartPoint()
: bendPoints[0] || edge.getEndPoint();
const defaultEndPoint = isTarget ? edge.getEndPoint() : edge.getStartPoint();
const classes = css(styles.topologyEdge, className, StatusModifier[status]);
Expand Down

0 comments on commit c089767

Please sign in to comment.