This commit is contained in:
49lf
2025-01-24 15:58:54 -05:00
parent 32e8975799
commit 90086488b5
9 changed files with 651 additions and 418 deletions

View File

@ -446,8 +446,7 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
icon: 'circle',
status: 'available',
title: 'Center circle',
disabled: (state) =>
state.matches('Sketch no face'),
disabled: (state) => state.matches('Sketch no face'),
isActive: (state) =>
state.matches({ Sketch: 'Circle tool' }) ||
state.matches({ Sketch: 'circle3PointToolSelect' }),
@ -464,9 +463,9 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
type: 'change tool',
data: {
tool: !modelingState.matches({
Sketch: 'circle3PointToolSelect',
Sketch: 'circleThreePointToolSelect',
})
? 'circle3Points'
? 'circleThreePoint'
: 'none',
},
}),