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:
Joseph Milazzo 2021-09-16 07:17:36 -07:00 committed by GitHub
parent 364c57925e
commit b452409a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View file

@ -953,11 +953,10 @@ export class MangaReaderComponent implements OnInit, AfterViewInit, OnDestroy {
switch(this.readerMode) {
case READER_MODE.MANGA_LR:
this.readerMode = READER_MODE.MANGA_UD;
this.pagingDirection = PAGING_DIRECTION.FORWARD;
break;
case READER_MODE.MANGA_UD:
this.readerMode = READER_MODE.WEBTOON;
// Temp disable ability to use webtoon
//this.readerMode = READER_MODE.MANGA_LR;
break;
case READER_MODE.WEBTOON:
this.readerMode = READER_MODE.MANGA_LR;