Cursors should stay after a code-mod (#113)
* setup to get path to nodes back from ast-mods * fix cursor setting for constraint buttons that use transformSecondarySketchLinesTagFirst * fix cursors for constraints that use transformAstSketchLines
This commit is contained in:
@ -93,7 +93,7 @@ export const Toolbar = () => {
|
||||
ast,
|
||||
pathToNode
|
||||
)
|
||||
updateAst(modifiedAst, pathToExtrudeArg)
|
||||
updateAst(modifiedAst, { focusPath: pathToExtrudeArg })
|
||||
}}
|
||||
className="border m-1 px-1 rounded text-xs"
|
||||
>
|
||||
@ -111,7 +111,7 @@ export const Toolbar = () => {
|
||||
pathToNode,
|
||||
false
|
||||
)
|
||||
updateAst(modifiedAst, pathToExtrudeArg)
|
||||
updateAst(modifiedAst, { focusPath: pathToExtrudeArg })
|
||||
}}
|
||||
className="border m-1 px-1 rounded text-xs"
|
||||
>
|
||||
|
Reference in New Issue
Block a user