aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-04-16 17:59:16 -0700
committerPinapelz <yukais@pinapelz.com>2026-04-16 17:59:16 -0700
commitc67744e3e5a7079a994cbd0ff196a7269a57ee5a (patch)
tree406afbf6630ce204dba0d5597e6f03feb6538d51
parent9576645999ef28ffc7845d2a7d7dfd665a8a0e7e (diff)
fix: remove debug media scrubbing code (oops)
-rw-r--r--src/app/game/page.tsx11
1 files changed, 0 insertions, 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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage