mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: settings basework
This commit is contained in:
1 parent
6753a72d97
commit
857cba902a
2 files changed
+34
-15
No files matched your search
@@ -25,6 +25,7 @@ type Tankopedia = {
|
||||
gunPitch: number;
|
||||
controlsEnabled: boolean;
|
||||
};
|
||||
showSettings: boolean;
|
||||
};
|
||||
|
||||
export const useTankopedia = create<Tankopedia>()(() => ({
|
||||
@@ -45,6 +46,7 @@ export const useTankopedia = create<Tankopedia>()(() => ({
|
||||
turretYaw: 0,
|
||||
controlsEnabled: true,
|
||||
},
|
||||
showSettings: false,
|
||||
}));
|
||||
|
||||
export default function mutateTankopedia(recipe: (draft: Tankopedia) => void) {
|
||||
|
||||
Reference in new issue
Block a user