cables now start at the top of the sidewall and dont go into the roof, added skeletons to the bin page for when it is loading, also fixed an issue with the camera being very zoomed in sometimes when the page loads

This commit is contained in:
csawatzky 2026-06-09 15:47:44 -06:00
parent f6de509561
commit 87382dd5d8
6 changed files with 27 additions and 11 deletions

View file

@ -82,6 +82,9 @@ export default function OrbitCameraControls(props: Props) {
});
useEffect(() => {
// Sync radius whenever initialRadius prop changes (e.g. after bin data loads)
spherical.current.radius = initialRadius ?? 10;
const canvas = gl.domElement;
canvas.addEventListener("contextmenu", e => e.preventDefault());