mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: movable tracks
This commit is contained in:
1 parent
b032de4a62
commit
5b833bab11
4 files changed
+64
-17
No files matched your search
@@ -20,7 +20,6 @@ export interface TankopediaPersistent {
|
||||
wireframe: boolean;
|
||||
opaque: boolean;
|
||||
environment: (typeof ENVIRONMENTS)[number];
|
||||
controlsEnabled: boolean;
|
||||
showGrid: boolean;
|
||||
greenPenetration: boolean;
|
||||
showEnvironment: boolean;
|
||||
@@ -45,6 +44,7 @@ export interface TankopediaPersistent {
|
||||
interface TankopediaTemporary {
|
||||
shot?: Shot;
|
||||
skills: Record<string, number>;
|
||||
controlsEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface ShotLayerBase {
|
||||
@@ -199,6 +199,7 @@ export const useTankopediaPersistent = create<TankopediaPersistent>()(
|
||||
export const useTankopediaTemporary = create<TankopediaTemporary>()(
|
||||
subscribeWithSelector<TankopediaTemporary>(() => ({
|
||||
skills: {},
|
||||
controlsEnabled: true,
|
||||
})),
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user