mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-06 12:34:42 +01:00
chore: Refactor and remove scene from elbow arrow generation (#8342)
* Refactor and remove scene from elbow arrow generation
This commit is contained in:
@@ -1648,7 +1648,7 @@ export const actionChangeArrowType = register({
|
||||
|
||||
mutateElbowArrow(
|
||||
newElement,
|
||||
app.scene,
|
||||
elementsMap,
|
||||
[finalStartPoint, finalEndPoint].map(
|
||||
(point) =>
|
||||
[point[0] - newElement.x, point[1] - newElement.y] as Point,
|
||||
|
||||
Reference in New Issue
Block a user