feat: add ctrl-y to redo (#2831)

This commit is contained in:
David Luzar 2021-01-21 16:21:54 +01:00 committed by GitHub
parent 6e767fc949
commit 9dc930b447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 8 deletions

View file

@ -1,4 +1,5 @@
export const isDarwin = /Mac|iPod|iPhone|iPad/.test(window.navigator.platform);
export const isWindows = /^Win/.test(window.navigator.platform);
export const CODES = {
EQUAL: "Equal",
@ -48,6 +49,7 @@ export const KEYS = {
T: "t",
V: "v",
X: "x",
Y: "y",
Z: "z",
} as const;