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:
parent
a1ffc44efa
commit
9e18040c53
7 changed files with 49 additions and 14 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue