Update SkipSegmentButton.tsx

This commit is contained in:
Pas 2026-02-01 12:58:07 -07:00
parent 427828d714
commit 64a241e2ed

View file

@ -182,9 +182,8 @@ function SkipSegmentButton(props: {
`bottom-[calc($1 + ${verticalOffset}px)]`, `bottom-[calc($1 + ${verticalOffset}px)]`,
); );
let show = false; // Show button whenever we're in a segment (not only on hover after first 10s)
if (showingState === "always") show = true; const show = showingState === "always" || showingState === "hover";
else if (showingState === "hover" && props.controlsShowing) show = true;
return ( return (
<Transition <Transition