diff --git a/src/nvda_voicemeeter/builder.py b/src/nvda_voicemeeter/builder.py index b1fc5b4..0ca5b0a 100644 --- a/src/nvda_voicemeeter/builder.py +++ b/src/nvda_voicemeeter/builder.py @@ -332,7 +332,7 @@ class Builder: psg.Slider( range=(-40, 12), default_value=self.vm.strip[i].limit, - resolution=0.1, + resolution=1, disable_number_display=True, expand_x=True, enable_events=True, @@ -433,7 +433,7 @@ class Builder: psg.Slider( range=(-40, 12), default_value=self.vm.strip[i].limit, - resolution=0.1, + resolution=1, disable_number_display=True, expand_x=True, enable_events=True, diff --git a/src/nvda_voicemeeter/compound.py b/src/nvda_voicemeeter/compound.py index 2023032..4110c48 100644 --- a/src/nvda_voicemeeter/compound.py +++ b/src/nvda_voicemeeter/compound.py @@ -10,17 +10,13 @@ class LabelSlider(psg.Frame): size = 7 else: size = 4 - if param == "LIMIT": - resolution = 1 - else: - resolution = 0.1 layout = [ [ psg.Text(param.capitalize(), size=size), psg.Slider( range=range_, default_value=self.default_value(i, param), - resolution=resolution, + resolution=0.1, disable_number_display=True, size=(12, 16), expand_x=True,