1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Add direction to Layout

This commit is contained in:
Fred Chasen 2017-10-17 11:50:18 -07:00
parent 9b6e864ae4
commit a42f758559
6 changed files with 10 additions and 19 deletions

View file

@ -171,6 +171,10 @@ class Layout {
format(contents){
var formating;
if (this.settings.direction) {
contents.direction(this.settings.direction);
}
if (this.name === "pre-paginated") {
formating = contents.fit(this.columnWidth, this.height);
} else if (this._flow === "paginated") {