mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted s-mter info
This commit is contained in:
parent
849bcabacd
commit
06f0b5e365
1 changed files with 1 additions and 1 deletions
|
@ -1889,7 +1889,7 @@ ipcRenderer.on("action-update-tnc-state", (event, arg) => {
|
||||||
noise_level = Math.pow(10, arg.strength / 20) * 100;
|
noise_level = Math.pow(10, arg.strength / 20) * 100;
|
||||||
|
|
||||||
document.getElementById("noise_level_value").textContent =
|
document.getElementById("noise_level_value").textContent =
|
||||||
Math.round(arg.strength) + " dB";
|
Math.round(arg.strength) + " dB (S-Meter)";
|
||||||
var noisecntrl = document.getElementById("noise_level");
|
var noisecntrl = document.getElementById("noise_level");
|
||||||
noisecntrl.setAttribute("aria-valuenow", noise_level);
|
noisecntrl.setAttribute("aria-valuenow", noise_level);
|
||||||
noisecntrl.setAttribute("style", "width:" + noise_level + "%;");
|
noisecntrl.setAttribute("style", "width:" + noise_level + "%;");
|
||||||
|
|
Loading…
Reference in a new issue