@micromag/screen-image-360 0.3.194 → 0.3.195

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/es/index.js CHANGED
@@ -443,7 +443,7 @@ var Image360Screen = function Image360Screen(_ref) {
443
443
  key: "callToAction",
444
444
  className: styles.callToAction,
445
445
  style: {
446
- transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
446
+ transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
447
447
  paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
448
448
  paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
449
449
  paddingBottom: spacing / 2,
package/lib/index.js CHANGED
@@ -479,7 +479,7 @@ var Image360Screen = function Image360Screen(_ref) {
479
479
  key: "callToAction",
480
480
  className: styles.callToAction,
481
481
  style: {
482
- transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
482
+ transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
483
483
  paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
484
484
  paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
485
485
  paddingBottom: spacing / 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-image-360",
3
- "version": "0.3.194",
3
+ "version": "0.3.195",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "b873f7d8957f26dcfbe27d1ad78f2102810e8c4d"
73
+ "gitHead": "c57fbd99811553c3c9cf0268fec643048a9948ae"
74
74
  }