mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-06 04:24:41 +01:00
@@ -1202,10 +1202,7 @@ export const bindPointToSnapToElementOutline = (
|
|||||||
customIntersector?: LineSegment<GlobalPoint>,
|
customIntersector?: LineSegment<GlobalPoint>,
|
||||||
): GlobalPoint => {
|
): GlobalPoint => {
|
||||||
const elbowed = isElbowArrow(arrowElement);
|
const elbowed = isElbowArrow(arrowElement);
|
||||||
const point =
|
const point = LinearElementEditor.getPointAtIndexGlobalCoordinates(
|
||||||
customIntersector && !elbowed
|
|
||||||
? customIntersector[0]
|
|
||||||
: LinearElementEditor.getPointAtIndexGlobalCoordinates(
|
|
||||||
arrowElement,
|
arrowElement,
|
||||||
startOrEnd === "start" ? 0 : -1,
|
startOrEnd === "start" ? 0 : -1,
|
||||||
elementsMap,
|
elementsMap,
|
||||||
|
|||||||
Reference in New Issue
Block a user