Add 'remove constraining values' UI (#80)

This commit is contained in:
Kurt Hutten
2023-03-22 03:02:37 +11:00
committed by GitHub
parent 45091d3c4f
commit ab1639b8b4
4 changed files with 198 additions and 3 deletions

View File

@ -1666,7 +1666,10 @@ function getFirstArgValuesForXYLineFns(callExpression: CallExpression): {
if (length) {
return { val: length, tag }
}
throw new Error('expected ArrayExpression or ObjectExpression')
console.warn('expected ArrayExpression or ObjectExpression')
return {
val: createLiteral(1),
}
}
const getAngledLineThatIntersects = (