Fullscreen keybind (#961)

# Added
- Added: Added 'f' as keybind to toggle fullscreen on manga and book readers.
This commit is contained in:
Robbie Davis 2022-01-19 08:38:49 -05:00 committed by GitHub
parent 9850d66546
commit 9dd71fe102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -400,6 +400,8 @@ export class MangaReaderComponent implements OnInit, AfterViewInit, OnDestroy {
this.goToPage(parseInt(goToPageNum.trim(), 10));
} else if (event.key === KEY_CODES.B) {
this.bookmarkPage();
} else if (event.key === KEY_CODES.F) {
this.toggleFullscreen()
}
}