Remove circular dependency, avoid adding 2 new ones

This commit is contained in:
Frank Noirot
2025-07-03 09:10:48 -04:00
parent 4b00d00977
commit 40388b80e7
13 changed files with 39 additions and 13 deletions

View File

@ -113,6 +113,7 @@ export async function applyConstraintAbsDistance({
await getModalInfo({
value: forceVal,
valueName: constraint === 'yAbs' ? 'yDis' : 'xDis',
selectionRanges,
})
if (!isExprBinaryPart(valueNode))
return Promise.reject('Invalid valueNode, is not a BinaryPart')