From c67744e3e5a7079a994cbd0ff196a7269a57ee5a Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 16 Apr 2026 17:59:16 -0700 Subject: fix: remove debug media scrubbing code (oops) --- src/app/game/page.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/app/game/page.tsx b/src/app/game/page.tsx index 6b6984a..95e590a 100644 --- a/src/app/game/page.tsx +++ b/src/app/game/page.tsx @@ -447,17 +447,6 @@ function GameInner() { useEffect(() => { if (phase !== "playing") return; const handler = (e: KeyboardEvent) => { - if (e.key === "ArrowLeft" || e.key === "ArrowRight") { - const audio = audioRef.current; - if (!audio) return; - e.preventDefault(); - const direction = e.key === "ArrowRight" ? 1 : -1; - const seekSeconds = 5; - const target = audio.currentTime + direction * seekSeconds; - const duration = Number.isFinite(audio.duration) ? audio.duration : target; - audio.currentTime = Math.min(Math.max(0, target), duration); - return; - } if (e.key.length === 1) { e.preventDefault(); handleKeyPress(e.key); -- cgit v1.2.3