emacroh5lib 1.0.67 → 1.0.68
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
@@ -271,8 +271,8 @@
|
|
271
271
|
} else {
|
272
272
|
rate = height / document.body.clientHeight
|
273
273
|
}
|
274
|
-
width = width / rate
|
275
|
-
height = height / rate
|
274
|
+
width = (width / rate) * 0.8
|
275
|
+
height = (height / rate) * 0.8
|
276
276
|
}
|
277
277
|
|
278
278
|
$this.setStyleByName(image, "width", `${width}px`);
|