Automatically create variable for setAngle and setLength (#108)

This commit is contained in:
Kurt Hutten
2023-04-07 01:21:33 +10:00
committed by GitHub
parent 52b2e26ac5
commit 0fa56c3f15
2 changed files with 6 additions and 1 deletions

View File

@ -103,6 +103,7 @@ export const SetAngleLength = ({
await getModalInfo({
value: forceVal,
valueName: angleOrLength === 'setAngle' ? 'angle' : 'length',
shouldCreateVariable: true,
} as any)
let finalValue = removeDoubleNegatives(valueNode, sign, variableName)
if (