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

Single render handles spreads

This commit is contained in:
Fred Chasen 2016-09-23 17:05:25 +02:00
parent 0889e63a29
commit 89387f1ef2
9 changed files with 231 additions and 45 deletions

View file

@ -6,6 +6,7 @@ function Layout(settings){
this._flow = (settings.flow === "paginated") ? "paginated" : "scrolled";
this._spread = (settings.spread === "none") ? false : true;
this._minSpreadWidth = settings.spread || 800;
this._evenSpreads = settings.evenSpreads || false;
this.width = 0;
this.height = 0;