Increase chapter end tolerance to 0.75

This commit is contained in:
Greg Lorenzen 2024-07-11 21:35:32 +00:00
parent aa2c132621
commit 549d0770e2

View file

@ -244,9 +244,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()
}
},