mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
improvement: adding zen mode to context menu (#2734)
This commit is contained in:
parent
778e4b08af
commit
629341da4d
4 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,7 @@ export type ShortcutName =
|
|||
| "group"
|
||||
| "ungroup"
|
||||
| "gridMode"
|
||||
| "zenMode"
|
||||
| "stats"
|
||||
| "addToLibrary";
|
||||
|
||||
|
@ -52,6 +53,7 @@ const shortcutMap: Record<ShortcutName, string[]> = {
|
|||
group: [getShortcutKey("CtrlOrCmd+G")],
|
||||
ungroup: [getShortcutKey("CtrlOrCmd+Shift+G")],
|
||||
gridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
zenMode: [getShortcutKey("Alt+Z")],
|
||||
stats: [],
|
||||
addToLibrary: [],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue