diff --git a/packages/element/src/binding.ts b/packages/element/src/binding.ts index 2260657640..66c316129a 100644 --- a/packages/element/src/binding.ts +++ b/packages/element/src/binding.ts @@ -1293,6 +1293,7 @@ export const bindPointToSnapToElementOutline = ( pointFromVector(halfVector, adjacentPoint), pointFromVector(vectorScale(halfVector, -1), adjacentPoint), ); + intersection = pointDistance(edgePoint, adjacentPoint) < 1 ? edgePoint @@ -1583,7 +1584,8 @@ export const updateBoundPoint = ( !isOverlapping && arrow.startBinding && arrow.endBinding && - otherBindableElement + otherBindableElement && + arrow.points.length === 2 ) { const startFocusPoint = getGlobalFixedPointForBindableElement( arrow.startBinding.fixedPoint,