From 628be87534d2a6ff7b9377f87762dcaf1bcdbf6c Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Wed, 8 Nov 2017 19:32:44 -0800 Subject: [PATCH] Update layout event --- src/rendition.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rendition.js b/src/rendition.js index d30f43a..7ac1af7 100644 --- a/src/rendition.js +++ b/src/rendition.js @@ -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); }) }