mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 11:44:23 +01:00
@@ -354,10 +354,17 @@ export class LinearElementEditor {
|
|||||||
) {
|
) {
|
||||||
globalNewPointPosition = getOutlineAvoidingPoint(
|
globalNewPointPosition = getOutlineAvoidingPoint(
|
||||||
element,
|
element,
|
||||||
|
pointRotateRads(
|
||||||
pointFrom<GlobalPoint>(
|
pointFrom<GlobalPoint>(
|
||||||
element.x + element.points[pointIndex][0] + deltaX,
|
element.x + element.points[pointIndex][0] + deltaX,
|
||||||
element.y + element.points[pointIndex][1] + deltaY,
|
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,
|
||||||
app.state.zoom,
|
app.state.zoom,
|
||||||
|
|||||||
Reference in New Issue
Block a user