More fixes
This commit is contained in:
parent
15fa09430b
commit
6b12e21d50
54 changed files with 1665 additions and 630 deletions
|
|
@ -95,7 +95,7 @@ export function useDeckLayers({
|
|||
useEffect(() => {
|
||||
if (!hasSelection) return;
|
||||
setMarchTime(0);
|
||||
const id = setInterval(() => setMarchTime((t) => t + 0.3), 50);
|
||||
const id = setInterval(() => setMarchTime((t) => (t + 0.3) % 10000), 50);
|
||||
return () => clearInterval(id);
|
||||
}, [hasSelection]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue