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

Update layout event

This commit is contained in:
Fred Chasen 2017-11-08 19:32:44 -08:00
parent 46800b05b6
commit 628be87534

View file

@ -602,8 +602,7 @@ class Rendition {
// this.mapping = new Mapping(this._layout.props);
this._layout.on(EVENTS.LAYOUT.UPDATED, (props, changed) => {
console.log("layout", props);
this.emit(EVENTS.RENDITION.LAYOUT, props);
this.emit(EVENTS.RENDITION.LAYOUT, props, changed);
})
}