1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Merge pull request #573 from gerhardsletten/v3-resize-fix

Format the layout when size of window has changed
This commit is contained in:
Fred Chasen 2017-03-21 23:13:31 -04:00 committed by GitHub
commit 268df221d2

View file

@ -369,6 +369,10 @@ class IframeView {
this.onResize(this, size); this.onResize(this, size);
if (this.contents) {
this.settings.layout.format(this.contents);
}
this.emit("resized", size); this.emit("resized", size);
} }