dytools-capture-engine 1.3.3 → 1.3.4
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1686,7 +1686,7 @@ var CaptureEngine = class {
|
|
|
1686
1686
|
let widthChange = this.width / preWidth;
|
|
1687
1687
|
let heightChange = this.height / preHeight;
|
|
1688
1688
|
let change = Math.max(widthChange, heightChange);
|
|
1689
|
-
this.setZoom(this.zoom / change
|
|
1689
|
+
this.setZoom(this.zoom / change);
|
|
1690
1690
|
}
|
|
1691
1691
|
this.emitExternal(CapturePublicEventType.TemplateChanged, {});
|
|
1692
1692
|
}
|
package/dist/index.js
CHANGED
|
@@ -1670,7 +1670,7 @@ var CaptureEngine = class {
|
|
|
1670
1670
|
let widthChange = this.width / preWidth;
|
|
1671
1671
|
let heightChange = this.height / preHeight;
|
|
1672
1672
|
let change = Math.max(widthChange, heightChange);
|
|
1673
|
-
this.setZoom(this.zoom / change
|
|
1673
|
+
this.setZoom(this.zoom / change);
|
|
1674
1674
|
}
|
|
1675
1675
|
this.emitExternal(CapturePublicEventType.TemplateChanged, {});
|
|
1676
1676
|
}
|