mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Remove GA code from binding (#9042)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
parent
31e8476c78
commit
0ffeaeaecf
44 changed files with 2112 additions and 1832 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue