@panoramax/web-viewer 4.4.0-develop-dab30a1d → 4.4.0-develop-71ab6940

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.4.0-develop-dab30a1d",
3
+ "version": "4.4.0-develop-71ab6940",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -150,7 +150,7 @@ export default class Map extends maplibregl.Map {
150
150
  if(e.defaultPrevented === false) {
151
151
  this._dropPreview();
152
152
  if(this._parent.isMapWide?.()) {
153
- this._gridFocus = setTimeout(() => this._parent?.grid?.toggleAway(), 250);
153
+ this._gridFocus = setTimeout(() => this._parent?.grid?.toggleAway(), 100);
154
154
  }
155
155
  }
156
156
  });
@@ -159,7 +159,7 @@ export default class Map extends maplibregl.Map {
159
159
  const untoggleGridWidgets = () => {
160
160
  if(this._parent.isMapWide?.() && this._parent?.grid?._hidden) {
161
161
  clearTimeout(this._gridFocus);
162
- this._parent.grid.toggleAway(true);
162
+ this._gridFocus = setTimeout(() => this._parent?.grid?.toggleAway(true), 100);
163
163
  }
164
164
  };
165
165
  this.on("mousemove", untoggleGridWidgets);