@panoramax/web-viewer 4.0.3-develop-fcd1db46 → 4.0.3-develop-cdb08f04

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.3-develop-fcd1db46",
3
+ "version": "4.0.3-develop-cdb08f04",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -43,7 +43,8 @@
43
43
  display: none;
44
44
  }
45
45
 
46
- /* No virtual tour arrows if photo is reduced */
47
- pnx-mini .psv-virtual-tour-arrows {
46
+ /* No virtual tour arrows or annotations if photo is reduced */
47
+ pnx-mini .psv-virtual-tour-arrows,
48
+ pnx-mini .pnx-psv-annotation {
48
49
  display: none;
49
50
  }
@@ -992,6 +992,7 @@ export default class Photo extends PSViewer {
992
992
  id: `annotation-${a.id}`,
993
993
  polygon: shape,
994
994
  data: { id: a.id },
995
+ className: "pnx-psv-annotation",
995
996
  svgStyle: {
996
997
  stroke: "var(--orange)",
997
998
  strokeWidth: "3px",