@panoramax/web-viewer 5.3.0-develop-cc136a73 → 5.3.0-develop-e555dbf8

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.
@@ -9,7 +9,7 @@ import BasicStyles from "./Basic.css" with { type: "css" };
9
9
  document.adoptedStyleSheets.push(AtkinsonStyles);
10
10
  document.adoptedStyleSheets.push(BasicStyles);
11
11
 
12
- const __COMMIT_HASH__ = "cc136a7";
12
+ const __COMMIT_HASH__ = "e555dbf";
13
13
  const __PACKAGE_VERSION__ = "5.3.0";
14
14
  const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
15
15
 
@@ -28,12 +28,16 @@ export default class MapTheme extends LitElement {
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  align-items: center;
31
- gap: 3px;
31
+ gap: 5px;
32
32
  font-size: 0.7rem;
33
+ line-height: 0.8rem;
33
34
  color: var(--grey-dark);
34
35
  width: 50px;
35
36
  text-align: center;
37
+ word-break: break-word;
38
+ margin-right: 10px;
36
39
  }
40
+ label:last-child { margin-right: unset; }
37
41
 
38
42
  .colors-scheme {
39
43
  width: 40px;
@@ -123,7 +123,12 @@ export default class ClickAndGo {
123
123
  _onPointerMove(e) {
124
124
  this._couldGoSomewhere = false;
125
125
  const yp = this.psv.getPositionFromEvent(e);
126
- if(!yp || this.psv.getPicturesNavigation() === "pic" || this.psv.getSelectedAnnotations().length > 0) { return; }
126
+ if(
127
+ !yp
128
+ || this.psv.getPicturesNavigation() === "pic"
129
+ || this.psv.getSelectedAnnotations().length > 0
130
+ || (this.psv._parent.map && this.psv._parent.isMapWide?.())
131
+ ) { return; }
127
132
 
128
133
  const map = this.psv._parent?.map;
129
134
  const meta = this.psv.getPictureMetadata();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "5.3.0-develop-cc136a73",
3
+ "version": "5.3.0-develop-e555dbf8",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",