aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/page.tsx')
-rw-r--r--src/app/page.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 95196d2..4be028c 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -128,11 +128,13 @@ function KaraokePage() {
handlePlayPause();
}
if (e.code === "ArrowRight") {
+ if (document.activeElement?.tagName === "INPUT") return;
const video = videoRef.current;
if (!video) return;
video.currentTime += 5;
}
if (e.code === "ArrowLeft") {
+ if (document.activeElement?.tagName === "INPUT") return;
const video = videoRef.current;
if (!video) return;
video.currentTime -= 5;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage