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
No known key found for this signature in database

View File

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