Explorar el Código

feat: increased keyboard input FPS to 60

Fela Maslen hace 5 años
padre
commit
85288dba5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gmus-web/src/hooks/vim.ts

+ 1 - 1
gmus-web/src/hooks/vim.ts

@@ -49,7 +49,7 @@ export function useVimBindings(dispatch: Dispatch<ActionKeyPressed>, skip = fals
     [dispatch],
   );
 
-  const listenerThrottled = useThrottleCallback(listener, 20, true);
+  const listenerThrottled = useThrottleCallback(listener, 60, true);
 
   useEffect(() => {
     if (skip) {