Compare commits

...

1 Commits

Author SHA1 Message Date
c44f81aa1e Disable rectangle tool 2024-07-30 13:10:12 -04:00

View File

@ -290,10 +290,8 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
},
}),
icon: 'line',
status: 'available',
disabled: (state) =>
state.matches('Sketch no face') ||
state.matches('Sketch.Rectangle tool.Awaiting second corner'),
status: 'unavailable',
disabled: (state) => true,
title: 'Line',
hotkey: (state) =>
state.matches('Sketch.Line tool') ? ['Esc', 'L'] : 'L',