summaryrefslogtreecommitdiff
path: root/libs/surfaces/launch_control_xl/controllers.cc
diff options
context:
space:
mode:
authorTérence Clastres <t.clastres@gmail.com>2018-08-19 18:27:54 +0200
committerTérence Clastres <t.clastres@gmail.com>2018-08-22 22:33:00 +0200
commit3f77c1245cb08551bf80fb0f2628bcb67cd82663 (patch)
tree5788870eb601a1c817488b8dc74c411f6848af6e /libs/surfaces/launch_control_xl/controllers.cc
parent266c5fbc16b7cad0aa042334c8606c49b1c8caa6 (diff)
LCXL: track select: change from 1 strip at a time to whole bank
Diffstat (limited to 'libs/surfaces/launch_control_xl/controllers.cc')
-rw-r--r--libs/surfaces/launch_control_xl/controllers.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/launch_control_xl/controllers.cc b/libs/surfaces/launch_control_xl/controllers.cc
index 9552fd7150..92967ae36d 100644
--- a/libs/surfaces/launch_control_xl/controllers.cc
+++ b/libs/surfaces/launch_control_xl/controllers.cc
@@ -526,13 +526,13 @@ LaunchControlXL::button_track_mode(TrackMode state)
void
LaunchControlXL::button_select_left()
{
- switch_bank (max (0, bank_start - 1));
+ switch_bank (max (0, bank_start - (7 + (LaunchControlXL::use_fader8master))));
}
void
LaunchControlXL::button_select_right()
{
- switch_bank (max (0, bank_start + 1));
+ switch_bank (max (0, bank_start + 7 + (LaunchControlXL::use_fader8master)));
}
void