diff --git a/packages/excalidraw/components/App.tsx b/packages/excalidraw/components/App.tsx index 2961af31f1..01726b158e 100644 --- a/packages/excalidraw/components/App.tsx +++ b/packages/excalidraw/components/App.tsx @@ -8772,6 +8772,25 @@ class App extends React.Component { false, { isDragging: true }, ); + LinearElementEditor.movePoints(newElement, [ + { + index: 0, + isDragging: false, + point: toLocalPoint( + getOutlineAvoidingPoint( + newElement, + pointFrom( + pointerDownState.origin.x, + pointerDownState.origin.y, + ), + 0, + this.scene, + this.state.zoom, + ), + newElement, + ), + }, + ]); } this.setState({