emacroh5lib 1.0.45 → 1.0.46
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
@@ -337,14 +337,12 @@
|
|
337
337
|
|
338
338
|
setTimeout(() => {
|
339
339
|
|
340
|
-
|
340
|
+
if (this.currentData) {
|
341
341
|
this.setStyleByName(this.image, "width", this.currentData.width);
|
342
342
|
this.setStyleByName(this.image, "height", this.currentData.height);
|
343
343
|
this.setStyleByName(this.image, "left", this.currentData.left);
|
344
344
|
this.setStyleByName(this.image, "top", this.currentData.top);
|
345
345
|
this.setTransform(this.image, this.currentData.transform);
|
346
|
-
} catch (error) {
|
347
|
-
console.log("switchAction", error, this.image, this.currentData);
|
348
346
|
}
|
349
347
|
|
350
348
|
this.resetZoom();
|