zimjs 17.2.0 → 17.2.1
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 +1 -1
- package/src/zim.js +7 -2
package/package.json
CHANGED
package/src/zim.js
CHANGED
|
@@ -36948,10 +36948,15 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
|
|
|
36948
36948
|
loader.resize();
|
|
36949
36949
|
}
|
|
36950
36950
|
adjustBoxes();
|
|
36951
|
-
|
|
36951
|
+
if (obj.width) {
|
|
36952
36952
|
obj.scaleTo(that.box,100,100).loc(0,0,sc,0);
|
|
36953
36953
|
that.stage.update();
|
|
36954
|
-
}
|
|
36954
|
+
} else {
|
|
36955
|
+
setTimeout(function() {
|
|
36956
|
+
obj.scaleTo(that.box,100,100).loc(0,0,sc,0);
|
|
36957
|
+
that.stage.update();
|
|
36958
|
+
}, 50);
|
|
36959
|
+
}
|
|
36955
36960
|
}
|
|
36956
36961
|
if (resize) {
|
|
36957
36962
|
that.resizeHandle.on("pressup", function() {
|