fix: New arrow start orbit when nested binds on the end

This commit is contained in:
Mark Tolmacs
2025-09-15 11:01:30 +02:00
parent 5a350a17c0
commit e67338bff0

View File

@@ -312,7 +312,7 @@ const bindingStrategyForNewSimpleArrowEndpointDragging = (
start: isMultiPoint start: isMultiPoint
? { mode: undefined } ? { mode: undefined }
: { : {
mode: "inside", mode: otherElement.id !== hit.id ? "orbit" : "inside",
element: otherElement, element: otherElement,
focusPoint: origin ?? pointFrom<GlobalPoint>(arrow.x, arrow.y), focusPoint: origin ?? pointFrom<GlobalPoint>(arrow.x, arrow.y),
}, },