mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Major RTL fixes
This commit is contained in:
parent
be24ab8b39
commit
e2c77d6f3a
5 changed files with 122 additions and 33 deletions
|
@ -195,7 +195,7 @@ class Layout {
|
|||
if (this.name === "pre-paginated") {
|
||||
formating = contents.fit(this.columnWidth, this.height);
|
||||
} else if (this._flow === "paginated") {
|
||||
formating = contents.columns(this.width, this.height, this.columnWidth, this.gap);
|
||||
formating = contents.columns(this.width, this.height, this.columnWidth, this.gap, this.settings.direction);
|
||||
} else { // scrolled
|
||||
formating = contents.size(this.width, null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue