Same hotkey for center rect and center circle (#6642)
Removed hotkey on center rectangle, seems less common than corner rectangle. Happy to be chalenged. Fixes #6634.
This commit is contained in:
@ -678,10 +678,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
|
|||||||
status: 'available',
|
status: 'available',
|
||||||
disabled: (state) => state.matches('Sketch no face'),
|
disabled: (state) => state.matches('Sketch no face'),
|
||||||
title: 'Center rectangle',
|
title: 'Center rectangle',
|
||||||
hotkey: (state) =>
|
|
||||||
state.matches({ Sketch: 'Center Rectangle tool' })
|
|
||||||
? ['Esc', 'C']
|
|
||||||
: 'C',
|
|
||||||
description: 'Start drawing a rectangle from its center',
|
description: 'Start drawing a rectangle from its center',
|
||||||
links: [],
|
links: [],
|
||||||
isActive: (state) => {
|
isActive: (state) => {
|
||||||
|
Reference in New Issue
Block a user