mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: don't reset camera on tab change
This commit is contained in:
1 parent
cc6c4faa2d
commit
7a18de6650
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -317,7 +317,7 @@ export function Controls({ naked }: ControlsProps) {
|
||||
updateCamera();
|
||||
|
||||
const unsubscribeDisplay = tankopediaEphemeralStore.subscribe(
|
||||
(state) => state.display,
|
||||
(state) => state.display === TankopediaDisplay.ShootingRange,
|
||||
() => {
|
||||
handleDisturbance();
|
||||
updateCamera();
|
||||
|
||||
Reference in new issue
Block a user