vim-web 1.0.0-alpha.11 → 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 +3 -0
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +3 -0
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.js
CHANGED
|
@@ -87546,6 +87546,9 @@ const WebglViewerComponent = forwardRef((props, ref) => {
|
|
|
87546
87546
|
const el = document.getElementsByClassName("vim-performance-div")[0];
|
|
87547
87547
|
if (el) el.classList.toggle("vim-hidden", !uiState.panelPerformance);
|
|
87548
87548
|
}, [uiState.panelPerformance]);
|
|
87549
|
+
useEffect(() => {
|
|
87550
|
+
props.viewer.gizmos.axes.canvas.style.display = uiState.panelAxes ? "" : "none";
|
|
87551
|
+
}, [uiState.panelAxes]);
|
|
87549
87552
|
const sectionBoxRef = useWebglSectionBox(props.viewer, settings2.sectionBox);
|
|
87550
87553
|
const isolationPanelHandle = useRef(null);
|
|
87551
87554
|
const sectionBoxPanelHandle = useRef(null);
|