Remove unused Arc button from toolbar (#6539)

This commit is contained in:
Pierre Jacquier
2025-04-28 10:32:43 -04:00
committed by GitHub
parent a58a3361b6
commit 145c28bbd5

View File

@ -585,24 +585,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
links: [],
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',