mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Checkmark to toggle context-menu-items (#2645)
This commit is contained in:
parent
aff817c667
commit
0faec7efb6
7 changed files with 27 additions and 17 deletions
|
@ -19,8 +19,8 @@ export type ShortcutName =
|
|||
| "copyAsSvg"
|
||||
| "group"
|
||||
| "ungroup"
|
||||
| "toggleGridMode"
|
||||
| "toggleStats"
|
||||
| "gridMode"
|
||||
| "stats"
|
||||
| "addToLibrary";
|
||||
|
||||
const shortcutMap: Record<ShortcutName, string[]> = {
|
||||
|
@ -51,8 +51,8 @@ const shortcutMap: Record<ShortcutName, string[]> = {
|
|||
copyAsSvg: [],
|
||||
group: [getShortcutKey("CtrlOrCmd+G")],
|
||||
ungroup: [getShortcutKey("CtrlOrCmd+Shift+G")],
|
||||
toggleGridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
toggleStats: [],
|
||||
gridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
stats: [],
|
||||
addToLibrary: [],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue