Skip to content

Commit

Permalink
make stepless mode the default
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri DAVID committed Nov 6, 2023
1 parent 156939d commit d2fc2b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DeviceControllerComponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, control_surface=None, name="device_component",
self._mode_toggle_button = None
self._last_mode_toggle_button_press = time.time()
self._precision_mode = False
self._stepless_mode = False
self._stepless_mode = True

# Lock logic
self._lock_button_slots = [None, None, None, None]
Expand Down Expand Up @@ -143,6 +143,7 @@ def set_enabled(self, active):
# disable matrix.
for slider in self._sliders:
temp=slider.set_enabled(active)
slider.set_stepless_mode(self._stepless_mode)
# ping parent
DeviceComponent.set_enabled(self, active)
return True
Expand Down

0 comments on commit d2fc2b4

Please sign in to comment.