1
0
Fork 0
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:
Fred Chasen 2016-12-14 16:07:10 +01:00
parent b21a35258b
commit ad9dd35fb5
3 changed files with 14 additions and 7 deletions

View file

@ -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