Skip to content

Commit

Permalink
Increase chapter end tolerance to 0.75
Browse files Browse the repository at this point in the history
  • Loading branch information
glorenzen committed Jul 11, 2024
1 parent aa2c132 commit 549d077
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/components/app/MediaPlayerContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
},
Expand Down

0 comments on commit 549d077

Please sign in to comment.