fix: new Literal data structure update

This commit is contained in:
Kevin Nadro
2025-01-28 13:04:52 -06:00
parent 648b37c1dd
commit c6d563f08f
2 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ export function updateCenterRectangleSketch(
const literal = arrayExpression.elements[0]
if (isLiteral(literal)) {
callExpression.arguments[0] = createArrayExpression([
createLiteral(literal.value),
createLiteral(literal.value.value),
createLiteral(Math.abs(twoX)),
])
}