mobile controls fixes

This commit is contained in:
legop3
2026-06-12 14:35:45 -04:00
parent 3efb31caae
commit 033bafeead
9 changed files with 192 additions and 138 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ export function ControlSystemProvider({ children }) {
(nightVisionOn) => {
if (!pipeline.nightVision) return;
if (typeof nightVisionOn === 'boolean') {
const action = nightVisionOn ? 'off' : 'on';
const action = nightVisionOn ? 'on' : 'off';
pipeline.sendNightVision(action);
} else {
pipeline.sendNightVision('toggle');