emacroh5lib 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -200,8 +200,11 @@
|
|
200
200
|
this.setStyleByName(this.image, "height", height);
|
201
201
|
|
202
202
|
setTimeout(() => {
|
203
|
-
this.resetZoom();
|
204
|
-
|
203
|
+
this.resetZoom(false);
|
204
|
+
setTimeout(() => {
|
205
|
+
this.resetZoom();
|
206
|
+
}, 200);
|
207
|
+
}, 0);
|
205
208
|
})
|
206
209
|
|
207
210
|
},
|
@@ -431,16 +434,10 @@
|
|
431
434
|
this.setStyleByName(image, "width", `${w * this._enlarge}px`);
|
432
435
|
this.setStyleByName(image, "height", `${h * this._enlarge}px`);
|
433
436
|
}
|
434
|
-
|
435
|
-
// console.log("报错6", this.currentData);
|
436
|
-
// console.log("报错7", image);
|
437
|
-
// console.log("报错8", this.image);
|
438
|
-
|
439
437
|
if (this.currentData) {
|
440
438
|
this.currentData.width = this.getStyleByName(this.image, "width");
|
441
439
|
this.currentData.height = this.getStyleByName(this.image, "height");
|
442
440
|
}
|
443
|
-
|
444
441
|
},
|
445
442
|
|
446
443
|
// FullScreen action
|