mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
change copy/paste styles shortcuts (#1881)
* change copy/paste styles shortcuts * use keyCode
This commit is contained in:
parent
6f1cff101a
commit
df5eb3f0d9
3 changed files with 10 additions and 4 deletions
|
@ -18,6 +18,8 @@ export const KEYS = {
|
|||
Z_KEY_CODE: 90,
|
||||
GRID_KEY_CODE: 222,
|
||||
G_KEY_CODE: 71,
|
||||
C_KEY_CODE: 67,
|
||||
V_KEY_CODE: 86,
|
||||
} as const;
|
||||
|
||||
export type Key = keyof typeof KEYS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue