mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Bugfix/manga reader (#582)
* Fixed an issue where you could change paging direction then switch to Up/Down mode and paging direction would still be present * Removed some code for a feature I'm not implementing anymore
This commit is contained in:
parent
364c57925e
commit
b452409a4a
@ -34,12 +34,6 @@
|
|||||||
<div class="{{readerMode === READER_MODE.MANGA_LR ? 'right' : 'top'}} {{clickOverlayClass('right')}}" (click)="handlePageChange($event, 'right')"></div>
|
<div class="{{readerMode === READER_MODE.MANGA_LR ? 'right' : 'top'}} {{clickOverlayClass('right')}}" (click)="handlePageChange($event, 'right')"></div>
|
||||||
<div class="{{readerMode === READER_MODE.MANGA_LR ? 'left' : 'bottom'}} {{clickOverlayClass('left')}}" (click)="handlePageChange($event, 'left')"></div>
|
<div class="{{readerMode === READER_MODE.MANGA_LR ? 'left' : 'bottom'}} {{clickOverlayClass('left')}}" (click)="handlePageChange($event, 'left')"></div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #webtoonClickArea>
|
|
||||||
<div class="top {{clickOverlayClass('right')}}" (click)="handlePageChange($event, 'right')"></div>
|
|
||||||
<div class="right {{clickOverlayClass('right')}}" (click)="handlePageChange($event, 'right')"></div>
|
|
||||||
<div class="left {{clickOverlayClass('left')}}" (click)="handlePageChange($event, 'left')"></div>
|
|
||||||
<div class="bottom {{clickOverlayClass('left')}}" (click)="handlePageChange($event, 'left')"></div>
|
|
||||||
</ng-template>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fixed-bottom overlay" *ngIf="menuOpen" [@slideFromBottom]="menuOpen">
|
<div class="fixed-bottom overlay" *ngIf="menuOpen" [@slideFromBottom]="menuOpen">
|
||||||
|
@ -953,11 +953,10 @@ export class MangaReaderComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
switch(this.readerMode) {
|
switch(this.readerMode) {
|
||||||
case READER_MODE.MANGA_LR:
|
case READER_MODE.MANGA_LR:
|
||||||
this.readerMode = READER_MODE.MANGA_UD;
|
this.readerMode = READER_MODE.MANGA_UD;
|
||||||
|
this.pagingDirection = PAGING_DIRECTION.FORWARD;
|
||||||
break;
|
break;
|
||||||
case READER_MODE.MANGA_UD:
|
case READER_MODE.MANGA_UD:
|
||||||
this.readerMode = READER_MODE.WEBTOON;
|
this.readerMode = READER_MODE.WEBTOON;
|
||||||
// Temp disable ability to use webtoon
|
|
||||||
//this.readerMode = READER_MODE.MANGA_LR;
|
|
||||||
break;
|
break;
|
||||||
case READER_MODE.WEBTOON:
|
case READER_MODE.WEBTOON:
|
||||||
this.readerMode = READER_MODE.MANGA_LR;
|
this.readerMode = READER_MODE.MANGA_LR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user