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:
parent
120e9fe8b3
commit
a9a1941f43
1 changed files with 4 additions and 0 deletions
|
@ -369,6 +369,10 @@ class IframeView {
|
|||
|
||||
this.onResize(this, size);
|
||||
|
||||
if (this.contents) {
|
||||
this.settings.layout.format(this.contents);
|
||||
}
|
||||
|
||||
this.emit("resized", size);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue