@panoramax/web-viewer 4.0.3-develop-90cc79b9 → 4.0.3-develop-25adfc80

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-90cc79b9",
3
+ "version": "4.0.3-develop-25adfc80",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from "lit";
1
+ import { LitElement, html, css, nothing } from "lit";
2
2
  import { panel } from "../../styles";
3
3
  import { fa } from "../../../utils/widgets";
4
4
  import { faInfoCircle } from "@fortawesome/free-solid-svg-icons/faInfoCircle";
@@ -150,7 +150,7 @@ export default class Legend extends LitElement {
150
150
  ._parent=${this._parent}
151
151
  style=${this.focus == "map" ? "display: none": ""}
152
152
  collapsable
153
- light=${this.light}
153
+ light=${this.light || nothing}
154
154
  >
155
155
  <slot slot="editors" name="editors">
156
156
  <pnx-widget-osmeditors ._parent=${this._parent} />
@@ -159,7 +159,7 @@ export default class Legend extends LitElement {
159
159
  <pnx-map-legend
160
160
  ._parent=${this._parent}
161
161
  style=${this.focus != "map" ? "display: none": ""}
162
- light=${this.light}
162
+ light=${this.light || nothing}
163
163
  ></pnx-map-legend>
164
164
  </div>`;
165
165
  }