mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Stop expand on pre-paginated, adjust images only on if not pre-paginated, update deps
This commit is contained in:
parent
b21a35258b
commit
ad9dd35fb5
3 changed files with 14 additions and 7 deletions
|
@ -210,7 +210,6 @@ class IframeView {
|
|||
|
||||
this.lockedWidth = width - elBorders.width - iframeBorders.width;
|
||||
this.lockedHeight = height - elBorders.height - iframeBorders.height;
|
||||
|
||||
this.resize(this.lockedWidth, this.lockedHeight);
|
||||
}
|
||||
|
||||
|
@ -235,6 +234,8 @@ class IframeView {
|
|||
|
||||
if(!this.iframe || this._expanding) return;
|
||||
|
||||
if(this.layout.name === "pre-paginated") return;
|
||||
|
||||
this._expanding = true;
|
||||
|
||||
// Expand Horizontally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue