change copy/paste styles shortcuts (#1881)

* change copy/paste styles shortcuts

* use keyCode
This commit is contained in:
David Luzar
2020-07-07 20:22:23 +02:00
committed by GitHub
parent 6f1cff101a
commit df5eb3f0d9
3 changed files with 10 additions and 4 deletions

View File

@ -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;