js-cloudimage-360-view 2.7.2-beta.4 → 2.7.2-beta.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.
@@ -643,6 +643,7 @@ var CI360Viewer = /*#__PURE__*/function () {
643
643
  this.container.style.width = window.innerWidth + 'px';
644
644
  this.container.height = window.innerHeight * this.devicePixelRatio;
645
645
  this.container.style.height = window.innerHeight + 'px';
646
+ this.container.style.maxWidth = 'unset';
646
647
  return;
647
648
  }
648
649
 
@@ -1236,7 +1237,7 @@ var CI360Viewer = /*#__PURE__*/function () {
1236
1237
  this.apiVersion = apiVersion;
1237
1238
  this.containerWidth = containerWidth;
1238
1239
  this.containerHeight = containerHeight;
1239
- this.pointerZoom = pointerZoom;
1240
+ this.pointerZoom = pointerZoom > 1 ? pointerZoom : 0;
1240
1241
  this.keysReverse = keysReverse;
1241
1242
  this.innerBox = (0, _jsCloudimage360ViewUtils.createInnerBox)(this.container);
1242
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.4",
3
+ "version": "2.7.2-beta.5",
4
4
  "main": "dist/index.js",
5
5
  "description": "",
6
6
  "author": "scaleflex",