mirror of
https://github.com/smittix/intercept.git
synced 2026-06-08 14:11:54 -07:00
fix: don't restore #output visibility in non-sensor modes
SensorDashboard.applyViewState was resetting output.style.display='' in the else branch, undoing switchMode's modesWithVisuals hide for waterfall, morse, ook, and every other mode with its own visuals. Only touch #output when mode === 'sensor'. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -172,8 +172,7 @@ const SensorDashboard = (function () {
|
||||
if (output) output.style.display = isDash ? 'none' : '';
|
||||
_updateToggle(isDash);
|
||||
} else {
|
||||
if (view) view.style.display = 'none';
|
||||
if (output) output.style.display = '';
|
||||
if (view) view.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user