From 1c76671ed7b69b80d65080aa3d2132d697487b42 Mon Sep 17 00:00:00 2001 From: Smittix Date: Mon, 23 Feb 2026 23:23:35 +0000 Subject: [PATCH] Force recenter retune for monitor click tuning --- static/js/modes/waterfall.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/modes/waterfall.js b/static/js/modes/waterfall.js index af3db1c..8135b7d 100644 --- a/static/js/modes/waterfall.js +++ b/static/js/modes/waterfall.js @@ -1879,9 +1879,9 @@ const Waterfall = (function () { const edgeMargin = activeSpan * 0.08; const withinCapture = clamped >= (_startMhz + edgeMargin) && clamped <= (_endMhz - edgeMargin); const sharedMonitor = _isSharedMonitorActive(); - // Shared-IQ monitor retunes are most reliable when we recenter - // capture on the requested frequency, not only at the edges. - const needsRetune = !withinCapture || sharedMonitor; + // While monitoring audio, force a capture recenter/restart for each + // click so monitor retunes are deterministic across the full span. + const needsRetune = !withinCapture || _monitoring; if (needsRetune) { _startMhz = clamped - configuredSpan / 2;