mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
feat: persistant tankopedia
This commit is contained in:
1 parent
f51e365ec4
commit
a70100c835
17 files changed
+156
-126
No files matched your search
@@ -1,9 +1,11 @@
|
||||
import { Color } from 'three';
|
||||
import InfiniteGridHelper from '../../../../../components/InfiniteGridHelper';
|
||||
import { useTankopedia } from '../../../../../stores/tankopedia';
|
||||
import { useTankopediaTemporary } from '../../../../../stores/tankopedia';
|
||||
|
||||
export function SceneProps() {
|
||||
const showGrid = useTankopedia((state) => state.model.visual.showGrid);
|
||||
const showGrid = useTankopediaTemporary(
|
||||
(state) => state.model.visual.showGrid,
|
||||
);
|
||||
|
||||
if (!showGrid) return null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user