Prevent double-click to constrain length on unsupported lines (#5938)
* WIP: Prevent length constraint creation on endAbsolute lines Fixes #5937 * Typo Thanks @franknoirot Co-authored-by: Frank Noirot <frank@zoo.dev> * length constraint stuff from @lrev-Dev * Clean up * Lint * Add regression test for double click after sketch constraint --------- Co-authored-by: Frank Noirot <frank@zoo.dev> Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import type { Models } from '@kittycad/lib'
|
||||
import { DEV } from '@src/env'
|
||||
|
||||
import { angleLengthInfo } from '@src/components/Toolbar/setAngleLength'
|
||||
import { angleLengthInfo } from '@src/components/Toolbar/angleLengthInfo'
|
||||
import { getNodeFromPath } from '@src/lang/queryAst'
|
||||
import { getVariableDeclaration } from '@src/lang/queryAst/getVariableDeclaration'
|
||||
import { getNodePathFromSourceRange } from '@src/lang/queryAstNodePathUtils'
|
||||
|
Reference in New Issue
Block a user