feat(info): add a minimum reading time for info popups

This commit is contained in:
2025-02-26 23:38:31 +01:00
parent 3c77360c9d
commit 80df809639
+4 -2
View File
@@ -27,10 +27,12 @@ export function Info() {
setSongInfo(newValue || {});
});
const readingTime =
const readingTime = Math.min(
((songInfo.comment?.split(" ").filter((x) => x).length || 0) /
kReadingWpm) *
60;
60,
15,
);
const pauseLength = Math.max(
0,