Increase chapter end tolerance to 0.75

This commit is contained in:
Greg Lorenzen 2024-07-11 21:35:32 +00:00 committed by Greg Lorenzen
parent 0c2f8b70d3
commit 812080f902

View file

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