mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-16 20:49:58 +02:00
Fix multipoint arrow orbit
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
@@ -295,7 +295,9 @@ const bindingStrategyForNewSimpleArrowEndpointDragging = (
|
|||||||
element: hit,
|
element: hit,
|
||||||
focusPoint: origin ?? center,
|
focusPoint: origin ?? center,
|
||||||
},
|
},
|
||||||
end: { mode: "inside", element: hit, focusPoint: point },
|
end: isMultiPoint
|
||||||
|
? { mode: "orbit", element: hit, focusPoint: point }
|
||||||
|
: { mode: "inside", element: hit, focusPoint: point },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user