Add Angle & Length constraint/value, and modal for the details (#54)

* setup UI for getting length and Angle values from user

* enable setLength-angle for angledLines with an exisiting constraining value
This commit is contained in:
Kurt Hutten
2023-03-10 08:48:50 +11:00
committed by GitHub
parent 2bb987b3b5
commit c3ead3b074
8 changed files with 485 additions and 27 deletions

View File

@ -4,6 +4,7 @@ import { getNodePathFromSourceRange } from './lang/queryAst'
import { HorzVert } from './components/Toolbar/HorzVert'
import { Equal } from './components/Toolbar/Equal'
import { SetHorzDistance } from './components/Toolbar/SetHorzDistance'
import { SetAngleLength } from './components/Toolbar/SetAngleLength'
export const Toolbar = () => {
const {
@ -159,6 +160,8 @@ export const Toolbar = () => {
<Equal />
<SetHorzDistance horOrVert="setHorzDistance" />
<SetHorzDistance horOrVert="setVertDistance" />
<SetAngleLength angleOrLength="setAngle" />
<SetAngleLength angleOrLength="setLength" />
</div>
)
}