From b33f54e9606d0833ce3ee254e9201f0d82cabcb6 Mon Sep 17 00:00:00 2001 From: groknt <243223332+groknt@users.noreply.github.com> Date: Mon, 10 Nov 2025 21:53:32 +0000 Subject: [PATCH] fix spacebar boost --- src/components/player/internals/KeyboardEvents.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/player/internals/KeyboardEvents.tsx b/src/components/player/internals/KeyboardEvents.tsx index 7ebdfbfe..3fcb6404 100644 --- a/src/components/player/internals/KeyboardEvents.tsx +++ b/src/components/player/internals/KeyboardEvents.tsx @@ -174,6 +174,11 @@ export function KeyboardEvents() { !dataRef.current.isInWatchParty && dataRef.current.enableHoldToBoost ) { + // Skip if it's a repeated event + if (evt.repeat) { + return; + } + // Skip if a button is targeted if ( evt.target && @@ -234,6 +239,11 @@ export function KeyboardEvents() { k === " " && (!dataRef.current.enableHoldToBoost || dataRef.current.isInWatchParty) ) { + // Skip if it's a repeated event + if (evt.repeat) { + return; + } + // Skip if a button is targeted if ( evt.target &&