Remove unused Arc button from toolbar (#6539)
This commit is contained in:
@ -585,24 +585,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
|
|||||||
links: [],
|
links: [],
|
||||||
isActive: (state) => state.matches({ Sketch: 'Tangential arc to' }),
|
isActive: (state) => state.matches({ Sketch: 'Tangential arc to' }),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 'arc',
|
|
||||||
onClick: ({ modelingState, modelingSend }) =>
|
|
||||||
modelingSend({
|
|
||||||
type: 'change tool',
|
|
||||||
data: {
|
|
||||||
tool: !modelingState.matches({ Sketch: 'Arc tool' })
|
|
||||||
? 'arc'
|
|
||||||
: 'none',
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
icon: 'arc',
|
|
||||||
status: DEV ? 'available' : 'unavailable',
|
|
||||||
title: 'Arc',
|
|
||||||
description: 'Start drawing an arc',
|
|
||||||
links: [],
|
|
||||||
isActive: (state) => state.matches({ Sketch: 'Arc tool' }),
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'break',
|
'break',
|
||||||
|
Reference in New Issue
Block a user