mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 10:00:46 +00:00
fixes limit resolution
This commit is contained in:
parent
f9614f44ac
commit
577f1fbdbb
@ -332,7 +332,7 @@ class Builder:
|
|||||||
psg.Slider(
|
psg.Slider(
|
||||||
range=(-40, 12),
|
range=(-40, 12),
|
||||||
default_value=self.vm.strip[i].limit,
|
default_value=self.vm.strip[i].limit,
|
||||||
resolution=0.1,
|
resolution=1,
|
||||||
disable_number_display=True,
|
disable_number_display=True,
|
||||||
expand_x=True,
|
expand_x=True,
|
||||||
enable_events=True,
|
enable_events=True,
|
||||||
@ -433,7 +433,7 @@ class Builder:
|
|||||||
psg.Slider(
|
psg.Slider(
|
||||||
range=(-40, 12),
|
range=(-40, 12),
|
||||||
default_value=self.vm.strip[i].limit,
|
default_value=self.vm.strip[i].limit,
|
||||||
resolution=0.1,
|
resolution=1,
|
||||||
disable_number_display=True,
|
disable_number_display=True,
|
||||||
expand_x=True,
|
expand_x=True,
|
||||||
enable_events=True,
|
enable_events=True,
|
||||||
|
@ -10,17 +10,13 @@ class LabelSlider(psg.Frame):
|
|||||||
size = 7
|
size = 7
|
||||||
else:
|
else:
|
||||||
size = 4
|
size = 4
|
||||||
if param == "LIMIT":
|
|
||||||
resolution = 1
|
|
||||||
else:
|
|
||||||
resolution = 0.1
|
|
||||||
layout = [
|
layout = [
|
||||||
[
|
[
|
||||||
psg.Text(param.capitalize(), size=size),
|
psg.Text(param.capitalize(), size=size),
|
||||||
psg.Slider(
|
psg.Slider(
|
||||||
range=range_,
|
range=range_,
|
||||||
default_value=self.default_value(i, param),
|
default_value=self.default_value(i, param),
|
||||||
resolution=resolution,
|
resolution=0.1,
|
||||||
disable_number_display=True,
|
disable_number_display=True,
|
||||||
size=(12, 16),
|
size=(12, 16),
|
||||||
expand_x=True,
|
expand_x=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user