Added a bug marker to ebook reader, made an optimization to continue-point api, Fixed a bulk selection bug where storyline tab wasn't properly selecting. (#997)
This commit is contained in:
parent
a15314c553
commit
415832d9e1
3 changed files with 11 additions and 3 deletions
|
|
@ -663,10 +663,17 @@ export class BookReaderComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
page = 0;
|
||||
}
|
||||
|
||||
// BUG: Last page is not counting as read
|
||||
if (!(page === 0 || page === this.maxPages - 1)) {
|
||||
page -= 1;
|
||||
}
|
||||
|
||||
// // Due to the fact that we start at image 0, but page 1, we need the last page to have progress as page + 1 to be completed
|
||||
// let tempPageNum = this.pageNum;
|
||||
// if (this.pageNum == this.maxPages - 1) {
|
||||
// tempPageNum = this.pageNum + 1;
|
||||
// }
|
||||
|
||||
this.pageNum = page;
|
||||
this.loadPage();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue