[feat](trx-frontend-http): add double-click to reset contrast slider

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-21 18:33:40 +01:00
parent 9c1c7b9ff1
commit e2e1aaebe2
@@ -9857,5 +9857,11 @@ if (spectrumCenterRightBtn) {
if (lastSpectrumData) scheduleSpectrumDraw();
}
});
gammaInput.addEventListener("dblclick", () => {
waterfallGamma = 1.0;
gammaInput.value = "1.0";
if (gammaValue) gammaValue.textContent = "1.0";
if (lastSpectrumData) scheduleSpectrumDraw();
});
}
})();