From 812080f9029bf7e251b6f87ebc9dd7e3592e2bf5 Mon Sep 17 00:00:00 2001 From: Greg Lorenzen Date: Thu, 11 Jul 2024 21:35:32 +0000 Subject: [PATCH] Increase chapter end tolerance to 0.75 --- client/components/app/MediaPlayerContainer.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/components/app/MediaPlayerContainer.vue b/client/components/app/MediaPlayerContainer.vue index 7748f18fc..15b414c28 100644 --- a/client/components/app/MediaPlayerContainer.vue +++ b/client/components/app/MediaPlayerContainer.vue @@ -248,9 +248,8 @@ export default { }, checkChapterEnd(time) { const chapterEndTime = this.currentChapter.end - const tolerance = 0.5 + const tolerance = 0.75 if (time >= chapterEndTime - tolerance) { - console.log('Chapter end reached', time, chapterEndTime) this.sleepTimerEnd() } },