mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
feat: show environment
This commit is contained in:
1 parent
e9c3953085
commit
082996b152
4 files changed
+24
-3
No files matched your search
@@ -6,8 +6,11 @@ export function SceneProps() {
|
||||
const showGrid = useTankopediaPersistent(
|
||||
(state) => state.model.visual.showGrid,
|
||||
);
|
||||
const showEnvironment = useTankopediaPersistent(
|
||||
(state) => state.model.visual.showEnvironment,
|
||||
);
|
||||
|
||||
if (!showGrid) return null;
|
||||
if (!showGrid || showEnvironment) return null;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user