[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:
@@ -9857,5 +9857,11 @@ if (spectrumCenterRightBtn) {
|
|||||||
if (lastSpectrumData) scheduleSpectrumDraw();
|
if (lastSpectrumData) scheduleSpectrumDraw();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
gammaInput.addEventListener("dblclick", () => {
|
||||||
|
waterfallGamma = 1.0;
|
||||||
|
gammaInput.value = "1.0";
|
||||||
|
if (gammaValue) gammaValue.textContent = "1.0";
|
||||||
|
if (lastSpectrumData) scheduleSpectrumDraw();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user