Release Shakeout Part 2 (#1267)

* Fixed manga reader and removed debug code

* Removed some console.logs
This commit is contained in:
Joseph Milazzo 2022-05-20 21:05:09 -05:00 committed by GitHub
parent 92010379f1
commit 81082508f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 9 deletions

View file

@ -248,8 +248,8 @@ img {
width: 100%;
}
//$pagination-bg: rgba(0, 0, 0, 0);
$pagination-bg: rgba(0, 0, 255, 0.4);
$pagination-bg: rgba(0, 0, 0, 0);
//$pagination-bg: rgba(0, 0, 255, 0.4);
.pagination-area {
cursor: pointer;

View file

@ -297,7 +297,7 @@ export class MangaReaderComponent implements OnInit, AfterViewInit, OnDestroy {
get ImageHeight() {
// If we are a cover image and implied fit to screen, then we need to take screen height rather than image height
if (this.isCoverImage()) {
if (this.isCoverImage() || this.generalSettingsForm.get('fittingOption')?.value === FITTING_OPTION.WIDTH) {
return this.WindowHeight;
}
return this.image?.nativeElement.height + 'px';