mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-05 12:05:11 +01:00
feat: Remove GA code from binding (#9042)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
@@ -1633,18 +1633,16 @@ export const actionChangeArrowType = register({
|
||||
|
||||
const finalStartPoint = startHoveredElement
|
||||
? bindPointToSnapToElementOutline(
|
||||
startGlobalPoint,
|
||||
endGlobalPoint,
|
||||
newElement,
|
||||
startHoveredElement,
|
||||
elementsMap,
|
||||
"start",
|
||||
)
|
||||
: startGlobalPoint;
|
||||
const finalEndPoint = endHoveredElement
|
||||
? bindPointToSnapToElementOutline(
|
||||
endGlobalPoint,
|
||||
startGlobalPoint,
|
||||
newElement,
|
||||
endHoveredElement,
|
||||
elementsMap,
|
||||
"end",
|
||||
)
|
||||
: endGlobalPoint;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user