Fix:PDF reader flickering & disable request progress indicator for ebook progress update events #2279

This commit is contained in:
advplyr 2024-05-31 16:32:38 -05:00
parent 95506bc638
commit ae412f2a57
3 changed files with 19 additions and 18 deletions

View file

@ -179,7 +179,7 @@ export default {
ebookLocation: this.page,
ebookProgress: Math.max(0, Math.min(1, (Number(this.page) - 1) / Number(this.numPages)))
}
this.$axios.$patch(`/api/me/progress/${this.libraryItemId}`, payload).catch((error) => {
this.$axios.$patch(`/api/me/progress/${this.libraryItemId}`, payload, { progress: false }).catch((error) => {
console.error('ComicReader.updateProgress failed:', error)
})
},
@ -386,4 +386,4 @@ export default {
.pagemenu {
max-height: calc(100% - 48px);
}
</style>
</style>