[feat](trx-frontend-http): sync frequency input wheel with jog control

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-13 02:16:33 +01:00
parent 1955d2491d
commit c510efb331
2 changed files with 7 additions and 2 deletions
@@ -810,6 +810,11 @@ freqEl.addEventListener("keydown", (e) => {
applyFreqFromInput();
}
});
freqEl.addEventListener("wheel", (e) => {
e.preventDefault();
const direction = e.deltaY < 0 ? 1 : -1;
jogFreq(direction);
}, { passive: false });
// --- Jog wheel ---
const jogWheel = document.getElementById("jog-wheel");