Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Feb 27, 2025
1 parent b93962d commit 5b4e75c
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions src/clientSideScene/sceneEntities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1606,19 +1606,15 @@ export class SceneEntities {
const varName = findUniqueName(_ast, 'profile')
const newExpression = createVariableDeclaration(
varName,
createCallExpressionStdLibKw('circle', [
varDec.node.id.name,
null,
[
createLabeledArg(
'center',
createArrayExpression([
createLiteral(roundOff(circleCenter[0])),
createLiteral(roundOff(circleCenter[1])),
])
),
createLabeledArg('radius', createLiteral(1)),
],
createCallExpressionStdLibKw('circle', varDec.node.id, [
createLabeledArg(
'center',
createArrayExpression([
createLiteral(roundOff(circleCenter[0])),
createLiteral(roundOff(circleCenter[1])),
])
),
createLabeledArg('radius', createLiteral(1)),
])
)

Expand Down

0 comments on commit 5b4e75c

Please sign in to comment.