@panoramax/web-viewer 4.0.1-develop-1e9682f2 → 4.0.1-develop-676dfe51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.0.1-develop-1e9682f2",
3
+ "version": "4.0.1-develop-676dfe51",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -266,7 +266,9 @@ export default class Photo extends PSViewer {
266
266
  }
267
267
  // Different sequence -> Point to center + no animation
268
268
  else {
269
- nodeTransition = forwardNoAnim;
269
+ nodeTransition = Object.assign(forwardNoAnim, {
270
+ rotateTo: { pitch: 0, yaw: 0 },
271
+ });
270
272
  }
271
273
  }
272
274
 
@@ -105,6 +105,7 @@ export default class Player extends LitElement {
105
105
  dir="row"
106
106
  size=${this.size}
107
107
  class="pnx-print-hidden"
108
+ style=${!this._activePrev && !this._activePlay && !this._activeNext ? "display: none": ""}
108
109
  >
109
110
  <pnx-button
110
111
  kind="superflat"