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:
parent
f6de509561
commit
87382dd5d8
6 changed files with 27 additions and 11 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue