mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
Tweak shouldShowNextEpisodeButton percentage
This commit is contained in:
parent
5d721adb91
commit
478b24e627
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ function shouldShowNextEpisodeButton(
|
|||
const percentage = time / duration;
|
||||
const secondsFromEnd = duration - time;
|
||||
if (secondsFromEnd <= 30) return "always";
|
||||
if (percentage >= 0.94) return "hover";
|
||||
if (percentage >= 0.93) return "hover";
|
||||
return "none";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue