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

Format the layout when size of window has changed

This commit is contained in:
Gerhard Sletten 2017-03-18 10:37:03 +01:00
parent 120e9fe8b3
commit a9a1941f43

View file

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