1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fixes resuming of books

- Adds 1 to the page number when a pecentageTicks is returned
This commit is contained in:
Jake King 2021-05-06 19:51:17 +01:00
parent 2edf4661d5
commit 87bb6de9d0

View file

@ -203,7 +203,7 @@ export class PdfPlayer {
const percentageTicks = options.startPositionTicks / 10000;
if (percentageTicks !== 0) {
this.loadPage(percentageTicks);
this.loadPage(percentageTicks + 1);
this.progress = percentageTicks;
} else {
this.loadPage(1);