mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 06:50:31 +02:00
Fix centering for existing arrows
This commit is contained in:
@@ -2039,7 +2039,13 @@ const pointDraggingUpdates = (
|
||||
newGlobalPointPosition = getOutlineAvoidingPoint(
|
||||
element,
|
||||
hoveredElement,
|
||||
snapToCenter(hoveredElement, elementsMap, newGlobalPointPosition),
|
||||
element.startBinding
|
||||
? snapToCenter(
|
||||
hoveredElement,
|
||||
elementsMap,
|
||||
newGlobalPointPosition,
|
||||
)
|
||||
: newGlobalPointPosition,
|
||||
pointIndex,
|
||||
elementsMap,
|
||||
customIntersector,
|
||||
|
Reference in New Issue
Block a user