From 52d622bccc1dd9e89f1e2ec58292015a9b73d7d3 Mon Sep 17 00:00:00 2001 From: David Huss <dh@atoav.com> Date: Sat, 17 Feb 2024 08:00:43 +0100 Subject: [PATCH] switch positions should honor playhead count --- daisyy-looper/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daisyy-looper/ui.h b/daisyy-looper/ui.h index 34e1ff2..f0e1993 100644 --- a/daisyy-looper/ui.h +++ b/daisyy-looper/ui.h @@ -462,7 +462,7 @@ class Ui { fx_mode = FX_MODE_GRAIN; pot_5.setDisplayMode("Grain Num", 100.0f, POT_DISPLAY_MODE_SWITCH_NUMBERS); pot_5.setSwitch(); - pot_5.switch_positions = 8; + pot_5.switch_positions = N_PLAYHEADS-1; pot_6.setDisplayMode("Grn. Spread", 100.0f, POT_DISPLAY_MODE_PERCENT); pot_7.setDisplayMode("Grain Var.", 100.0f, POT_DISPLAY_MODE_PERCENT); }); -- GitLab