most of the fix for 3 point circle

This commit is contained in:
Kurt Hutten Irev-Dev
2025-01-31 21:26:19 +11:00
parent 33468c4c96
commit 5a5138a703
13 changed files with 1014 additions and 632 deletions

View File

@ -449,7 +449,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
disabled: (state) => state.matches('Sketch no face'),
isActive: (state) =>
state.matches({ Sketch: 'Circle tool' }) ||
state.matches({ Sketch: 'circle3PointToolSelect' }),
state.matches({ Sketch: 'Circle three point tool' }),
hotkey: (state) =>
state.matches({ Sketch: 'Circle tool' }) ? ['Esc', 'C'] : 'C',
showTitle: false,
@ -463,9 +463,9 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
type: 'change tool',
data: {
tool: !modelingState.matches({
Sketch: 'circleThreePointToolSelect',
Sketch: 'Circle three point tool',
})
? 'circleThreePoint'
? 'circleThreePointNeo'
: 'none',
},
}),