Manga Reader Double Layout bugfixes (#1341)

* Enforce some max heights on series detail page

* Added some icon to layout mode to help the user understand how they work (Robbie needs to css it)

* Adding split-double icon

* Fixing reverse

* Added lots of debug code, refactored documentation, and added some history for wide images

* More prefetching code for wide images

* Fixed the issue where sometimes paging backwards would skip an image

* Fixed up a bug where occasionally on double (manga) paging backwards could skip a page.

Fixed a bug on double where last page could get duplicated.

* Don't update pageDimensionHistory since we don't need it

* Forgot some changes

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
Joseph Milazzo 2022-06-29 19:48:29 -05:00 committed by GitHub
parent f72459a728
commit dacf15f024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 188 additions and 37 deletions

View file

@ -1,6 +1,6 @@
<div class="list-item-container d-flex flex-row g-0 mb-2 p-2">
<div class="pe-2">
<app-image [imageUrl]="imageUrl" [height]="imageHeight" [width]="imageWidth"></app-image>
<app-image [imageUrl]="imageUrl" [height]="imageHeight" maxHeight="200px" [width]="imageWidth"></app-image>
<div class="not-read-badge" *ngIf="pagesRead === 0 && totalPages > 0"></div>
<span class="download" *ngIf="download$ | async as download">
<app-circular-loader [currentValue]="download.progress"></app-circular-loader>