diff --git a/src/nvda_voicemeeter/popup.py b/src/nvda_voicemeeter/popup.py index 0688ca3..86089d2 100644 --- a/src/nvda_voicemeeter/popup.py +++ b/src/nvda_voicemeeter/popup.py @@ -522,10 +522,7 @@ class Popup: setattr(self.window.vm.strip[index].gate, param.lower(), val) popup[f"GATE||SLIDER {param}"].update(value=val) - if param == "KNEE": - self.window.nvda.speak(str(round(val, 2))) - else: - self.window.nvda.speak(str(round(val, 1))) + self.window.nvda.speak(str(round(val, 1))) else: self.window.vm.event.pdirty = True case [ @@ -547,10 +544,7 @@ class Popup: setattr(self.window.vm.strip[index].gate, param.lower(), val) popup[f"GATE||SLIDER {param}"].update(value=val) - if param == "KNEE": - self.window.nvda.speak(str(round(val, 2))) - else: - self.window.nvda.speak(str(round(val, 1))) + self.window.nvda.speak(str(round(val, 1))) else: self.window.vm.event.pdirty = True case [ @@ -572,10 +566,7 @@ class Popup: setattr(self.window.vm.strip[index].gate, param.lower(), val) popup[f"GATE||SLIDER {param}"].update(value=val) - if param == "KNEE": - self.window.nvda.speak(str(round(val, 2))) - else: - self.window.nvda.speak(str(round(val, 1))) + self.window.nvda.speak(str(round(val, 1))) else: self.window.vm.event.pdirty = True