mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 23:10:16 +02:00
@@ -354,9 +354,16 @@ export class LinearElementEditor {
|
|||||||
) {
|
) {
|
||||||
globalNewPointPosition = getOutlineAvoidingPoint(
|
globalNewPointPosition = getOutlineAvoidingPoint(
|
||||||
element,
|
element,
|
||||||
pointFrom<GlobalPoint>(
|
pointRotateRads(
|
||||||
element.x + element.points[pointIndex][0] + deltaX,
|
pointFrom<GlobalPoint>(
|
||||||
element.y + element.points[pointIndex][1] + deltaY,
|
element.x + element.points[pointIndex][0] + deltaX,
|
||||||
|
element.y + element.points[pointIndex][1] + deltaY,
|
||||||
|
),
|
||||||
|
pointFrom<GlobalPoint>(
|
||||||
|
element.x + element.width / 2,
|
||||||
|
element.y + element.height / 2,
|
||||||
|
),
|
||||||
|
element.angle,
|
||||||
),
|
),
|
||||||
pointIndex,
|
pointIndex,
|
||||||
app.scene,
|
app.scene,
|
||||||
|
Reference in New Issue
Block a user