vim-web 1.0.0-alpha.10 → 1.0.0-alpha.12

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.
@@ -59096,9 +59096,11 @@ void main() {
59096
59096
  if (t >= 1) {
59097
59097
  t = 1;
59098
59098
  this._running = false;
59099
- this.onProgress = void 0;
59100
59099
  }
59101
59100
  (_a3 = this.onProgress) == null ? void 0 : _a3.call(this, t);
59101
+ if (!this._running) {
59102
+ this.onProgress = void 0;
59103
+ }
59102
59104
  }
59103
59105
  applyMove(worldVector) {
59104
59106
  const startPos = this._camera.position.clone();
@@ -87560,6 +87562,9 @@ Averrage Date/Second ${avgDataRatePS} kb
87560
87562
  const el = document.getElementsByClassName("vim-performance-div")[0];
87561
87563
  if (el) el.classList.toggle("vim-hidden", !uiState.panelPerformance);
87562
87564
  }, [uiState.panelPerformance]);
87565
+ React2.useEffect(() => {
87566
+ props.viewer.gizmos.axes.canvas.style.display = uiState.panelAxes ? "" : "none";
87567
+ }, [uiState.panelAxes]);
87563
87568
  const sectionBoxRef = useWebglSectionBox(props.viewer, settings2.sectionBox);
87564
87569
  const isolationPanelHandle = React2.useRef(null);
87565
87570
  const sectionBoxPanelHandle = React2.useRef(null);