correct throttle ms

This commit is contained in:
Timothy Z. 2026-04-27 11:20:42 +03:00
parent 5f6ff99cb6
commit 2730444445

View file

@ -19,7 +19,7 @@ type Props = {
onShortcut: (name: ShortcutName) => void,
};
const REPEAT_THROTTLE_MS = 200;
const REPEAT_THROTTLE_MS = 130;
const ShortcutsProvider = ({ children, onShortcut }: Props) => {
const listeners = useRef<Map<ShortcutName, Set<ShortcutListener>>>(new Map());