Update src/lib/rectangleTool.ts

Co-authored-by: Frank Noirot <frank@zoo.dev>
This commit is contained in:
Kurt Hutten
2025-02-12 18:58:43 +11:00
committed by GitHub
parent 41340c8bf0
commit 520f899ad4

View File

@ -127,7 +127,6 @@ export function updateCenterRectangleSketch(
let startX = originX - Math.abs(deltaX)
let startY = originY - Math.abs(deltaY)
// pipeExpression.body[1] is startProfileAt
let callExpression = pipeExpression.body[0]
if (isCallExpression(callExpression)) {
const arrayExpression = callExpression.arguments[0]