[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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user