belowjs 1.7.1 → 1.7.2

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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to BelowJS will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.7.2] - 2026-02-15
9
+
10
+ ### Fixed
11
+ - Model selector dropdown and dive mode toggle remain interactive after opening the Quest system menu, so model/mode changes can be made before returning to immersive view.
12
+
13
+ ---
14
+
8
15
  ## [1.7.1] - 2026-02-15
9
16
 
10
17
  ### Fixed
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  📖 **[Full Documentation & Examples](https://patrick-morrison.github.io/belowjs/)**
8
8
 
9
- > **Current Version:** `1.7.1` - Screenshot hotkey now ignores typing in text inputs.
9
+ > **Current Version:** `1.7.2` - Quest pause menu workflow restored for model selector and dive mode toggle.
10
10
 
11
11
  **Dive Shipwrecks in Virtual Reality**
12
12
 
@@ -60,11 +60,11 @@ This gives you a complete VR-ready 3D viewer with dive lighting, measurement too
60
60
  {
61
61
  "imports": {
62
62
  "three": "https://cdn.jsdelivr.net/npm/three@0.179.1/+esm",
63
- "belowjs": "https://cdn.jsdelivr.net/npm/belowjs@1.7.1/dist/belowjs.js"
63
+ "belowjs": "https://cdn.jsdelivr.net/npm/belowjs@1.7.2/dist/belowjs.js"
64
64
  }
65
65
  }
66
66
  </script>
67
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/belowjs@1.7.1/dist/belowjs.css">
67
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/belowjs@1.7.2/dist/belowjs.css">
68
68
  <style>
69
69
  body, html { margin: 0; padding: 0; overflow: hidden; }
70
70
  </style>
package/dist/belowjs.js CHANGED
@@ -13687,7 +13687,7 @@ class ri extends yt {
13687
13687
  }), this.belowViewer.on("vr-movement-start", (e) => this.emit("vr-movement-start", e)), this.belowViewer.on("vr-movement-stop", (e) => this.emit("vr-movement-stop", e)), this.belowViewer.on("vr-movement-update", (e) => this.emit("vr-movement-update", e));
13688
13688
  }
13689
13689
  onVRSessionStart() {
13690
- if (this.flyControls && this.flyControls.exitFlyMode(), this.ui.info && (this.ui.info.style.display = "none"), this.ui.selector && (this.ui.selector.style.pointerEvents = "none", this.ui.selector.style.opacity = "0.5"), this.isLoading && this.updateVRLoadingIndicator(), !this.vrUpdateLoop) {
13690
+ if (this.flyControls && this.flyControls.exitFlyMode(), this.ui.info && (this.ui.info.style.display = "none"), this.isLoading && this.updateVRLoadingIndicator(), !this.vrUpdateLoop) {
13691
13691
  let e = 0;
13692
13692
  const t = (s) => {
13693
13693
  this.belowViewer && this.belowViewer.renderer && this.belowViewer.renderer.xr && this.belowViewer.renderer.xr.isPresenting ? (s - e > 100 && (this.vrLoadingSprite && this.belowViewer.sceneManager.scene.children.includes(this.vrLoadingSprite) && this.isLoading && this.positionVRLoadingSprite(), e = s), this.vrUpdateLoop = requestAnimationFrame(t)) : this.vrUpdateLoop = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "belowjs",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "A modular Three.js library for creating immersive underwater/dive model viewers with VR support",
5
5
  "main": "dist/belowjs.js",
6
6
  "module": "dist/belowjs.js",