mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: reenable mixer
This commit is contained in:
1 parent
96a8f225fc
commit
f5aa2ff9de
12 files changed
+72
-37
No files matched your search
+3
-4
@@ -1,13 +1,12 @@
|
||||
import { Box, Progress } from '@radix-ui/themes';
|
||||
import { useProgress } from '@react-three/drei';
|
||||
import { Box, Progress } from "@radix-ui/themes";
|
||||
import { useStableProgress } from "../../../../../../../hooks/useStableProgress";
|
||||
|
||||
interface Props {
|
||||
fontSize?: string;
|
||||
}
|
||||
|
||||
export function Tracker({ fontSize }: Props) {
|
||||
const { loaded, total } = useProgress();
|
||||
const progress = total === 0 ? 0 : (loaded / total) * 100;
|
||||
const progress = useStableProgress();
|
||||
|
||||
return (
|
||||
<Box
|
||||
|
||||
-1
@@ -266,7 +266,6 @@ export function Controls({
|
||||
ref={orbitControls}
|
||||
enabled={Tankopedia.state.controlsEnabled}
|
||||
enableDamping={false}
|
||||
autoRotateSpeed={1 / 4}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user