mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 10:37:22 +02:00
Much more thorough tests! (#1053)
This commit is contained in:
@@ -14,6 +14,8 @@ export const KEYS = {
|
||||
SPACE: " ",
|
||||
} as const;
|
||||
|
||||
export type Key = keyof typeof KEYS;
|
||||
|
||||
export function isArrowKey(keyCode: string) {
|
||||
return (
|
||||
keyCode === KEYS.ARROW_LEFT ||
|
||||
|
Reference in New Issue
Block a user