From e3ab20d2d84d4def0134e8648af1dc0254e26041 Mon Sep 17 00:00:00 2001 From: Tyler Krys Date: Sun, 31 May 2026 19:52:35 -0700 Subject: [PATCH] Fix last press timekeeping --- src/react/src/lib/Keyboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/src/lib/Keyboard.tsx b/src/react/src/lib/Keyboard.tsx index d466bcc..d7a0bf1 100644 --- a/src/react/src/lib/Keyboard.tsx +++ b/src/react/src/lib/Keyboard.tsx @@ -119,7 +119,7 @@ export function Keyboard< return; } - lastShiftOrCapsPressAtRef.current = null; + lastShiftOrCapsPressAtRef.current = now; setIsShiftMode((prev) => !prev); };