zimjs 18.1.4 → 18.1.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/zim.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zimjs",
3
- "version": "18.1.4",
3
+ "version": "18.1.5",
4
4
  "type": "module",
5
5
  "main": "./src/zim.js",
6
6
  "types": "./ts-src/typings/zim",
package/src/zim.js CHANGED
@@ -92619,9 +92619,9 @@ function zimify(obj, a, b, c, d, list) {
92619
92619
  sca:function(scale, scaleY) {
92620
92620
  return zim.sca(this, scale, scaleY);
92621
92621
  },
92622
- scaleTo:function(boundObj, percentX, percentY, type, boundsOnly) {
92622
+ scaleTo:function(boundObj, percentX, percentY, type, boundsOnly, simple) {
92623
92623
  if (isDUO(arguments)) {arguments[0].obj = this; return zim.scaleTo(arguments[0]);}
92624
- else {return zim.scaleTo(this, boundObj, percentX, percentY, type, boundsOnly);}
92624
+ else {return zim.scaleTo(this, boundObj, percentX, percentY, type, boundsOnly, simple);}
92625
92625
  },
92626
92626
  fit:function(left, top, width, height, type) {
92627
92627
  if (isDUO(arguments)) {arguments[0].obj = this; return zim.fit(arguments[0]);}