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)]`,
);
let show = false;
if (showingState === "always") show = true;
else if (showingState === "hover" && props.controlsShowing) show = true;
// Show button whenever we're in a segment (not only on hover after first 10s)
const show = showingState === "always" || showingState === "hover";
return (
<Transition