js-cloudimage-360-view 2.7.2-beta.7 → 2.7.2-beta.8

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.
@@ -1237,7 +1237,7 @@ var CI360Viewer = /*#__PURE__*/function () {
1237
1237
  this.apiVersion = apiVersion;
1238
1238
  this.containerWidth = containerWidth;
1239
1239
  this.containerHeight = containerHeight;
1240
- this.pointerZoom = Math.min(Math.max(pointerZoom, 1), 3);
1240
+ this.pointerZoom = pointerZoom > 1 ? Math.min(pointerZoom, 3) : 0;
1241
1241
  this.keysReverse = keysReverse;
1242
1242
  this.innerBox = (0, _jsCloudimage360ViewUtils.createInnerBox)(this.container);
1243
1243
  this.iconsContainer = (0, _jsCloudimage360ViewUtils.createIconsContainer)(this.innerBox);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-cloudimage-360-view",
3
- "version": "2.7.2-beta.7",
3
+ "version": "2.7.2-beta.8",
4
4
  "main": "dist/index.js",
5
5
  "description": "",
6
6
  "author": "scaleflex",