fix: auto rotate disabling

This commit is contained in:
TrèsAbhi committed 2025-08-11 11:26:53 -05:00
1 parent 9f15ded0c9
commit 997d1df8f9
1 file changed
+2
@@ -92,6 +92,8 @@ export function Controls({
const t0 = useRef(Date.now() / 1000);
useFrame(() => {
if (!doAutoRotate) return;
const now = Date.now() / 1000;
const t = now - t0.current;