mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-30 23:49:10 -04:00
Merge branch 'zoom-control'
# Conflicts: # pdf.js
This commit is contained in:
@@ -251,7 +251,11 @@ export class View extends HTMLElement {
|
||||
}
|
||||
|
||||
this.isFixedLayout = this.book.rendition?.layout === 'pre-paginated'
|
||||
if (this.isFixedLayout) {
|
||||
if (this.book.format === 'comic' && options?.comic?.flow === 'webtoon') {
|
||||
await import('./webtoon.js')
|
||||
this.renderer = document.createElement('foliate-webtoon')
|
||||
}
|
||||
else if (this.isFixedLayout) {
|
||||
await import('./fixed-layout.js')
|
||||
this.renderer = document.createElement('foliate-fxl')
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user