1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Set layout variables as props for passing as json

This commit is contained in:
Fred Chasen 2017-03-31 13:36:48 -04:00
parent a1ffc44efa
commit 9e18040c53
7 changed files with 49 additions and 14 deletions

View file

@ -431,7 +431,7 @@ class Rendition {
this._layout = new Layout(settings);
this._layout.spread(settings.spread, this.settings.minSpreadWidth);
this.mapping = new Mapping(this._layout);
this.mapping = new Mapping(this._layout.props);
}
if (this.manager && this._layout) {