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.
- package/dist/vim-web.iife.js +6 -1
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +6 -1
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.js
CHANGED
|
@@ -59080,9 +59080,11 @@ class CameraLerp extends CameraMovement$1 {
|
|
|
59080
59080
|
if (t >= 1) {
|
|
59081
59081
|
t = 1;
|
|
59082
59082
|
this._running = false;
|
|
59083
|
-
this.onProgress = void 0;
|
|
59084
59083
|
}
|
|
59085
59084
|
(_a3 = this.onProgress) == null ? void 0 : _a3.call(this, t);
|
|
59085
|
+
if (!this._running) {
|
|
59086
|
+
this.onProgress = void 0;
|
|
59087
|
+
}
|
|
59086
59088
|
}
|
|
59087
59089
|
applyMove(worldVector) {
|
|
59088
59090
|
const startPos = this._camera.position.clone();
|
|
@@ -87544,6 +87546,9 @@ const WebglViewerComponent = forwardRef((props, ref) => {
|
|
|
87544
87546
|
const el = document.getElementsByClassName("vim-performance-div")[0];
|
|
87545
87547
|
if (el) el.classList.toggle("vim-hidden", !uiState.panelPerformance);
|
|
87546
87548
|
}, [uiState.panelPerformance]);
|
|
87549
|
+
useEffect(() => {
|
|
87550
|
+
props.viewer.gizmos.axes.canvas.style.display = uiState.panelAxes ? "" : "none";
|
|
87551
|
+
}, [uiState.panelAxes]);
|
|
87547
87552
|
const sectionBoxRef = useWebglSectionBox(props.viewer, settings2.sectionBox);
|
|
87548
87553
|
const isolationPanelHandle = useRef(null);
|
|
87549
87554
|
const sectionBoxPanelHandle = useRef(null);
|