@panoramax/web-viewer 4.0.1-develop-c7df5a60 → 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-c7df5a60",
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