aboutsummaryrefslogtreecommitdiffstats
path: root/src/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sequencer.c')
-rw-r--r--src/sequencer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sequencer.c b/src/sequencer.c
index c793a3f..784d132 100644
--- a/src/sequencer.c
+++ b/src/sequencer.c
@@ -284,6 +284,7 @@ select_bank(int i) {
284 redraw_trigs = true; 284 redraw_trigs = true;
285 redraw_channels = true; 285 redraw_channels = true;
286 redraw_bank_buttons = true; 286 redraw_bank_buttons = true;
287 redraw_bpm = true;
287} 288}
288 289
289void 290void
@@ -388,6 +389,7 @@ handle_param_selection_sq1(void) {
388 // Go back to trigger selection. 389 // Go back to trigger selection.
389 if (key_released(KEY_A)) { 390 if (key_released(KEY_A)) {
390 input_handler = handle_trigger_selection; 391 input_handler = handle_trigger_selection;
392 redraw_params = true;
391 return; 393 return;
392 } 394 }
393 395
@@ -477,6 +479,7 @@ handle_param_selection_sq2(void) {
477 // Go back to trigger selection. 479 // Go back to trigger selection.
478 if (key_released(KEY_A)) { 480 if (key_released(KEY_A)) {
479 input_handler = handle_trigger_selection; 481 input_handler = handle_trigger_selection;
482 redraw_params = true;
480 return; 483 return;
481 } 484 }
482 485
@@ -490,6 +493,7 @@ handle_param_selection_sq2(void) {
490 inc = -1; 493 inc = -1;
491 } 494 }
492 param_selection_loc = CLAMP(loc + inc, 0, 3); 495 param_selection_loc = CLAMP(loc + inc, 0, 3);
496 redraw_params = true;
493 } 497 }
494 498
495 // Adjust parameter. 499 // Adjust parameter.
@@ -527,6 +531,7 @@ handle_param_selection_wave(void) {
527 // Go back to trigger selection. 531 // Go back to trigger selection.
528 if (key_released(KEY_A)) { 532 if (key_released(KEY_A)) {
529 input_handler = handle_trigger_selection; 533 input_handler = handle_trigger_selection;
534 redraw_params = true;
530 return; 535 return;
531 } 536 }
532 537
@@ -554,6 +559,7 @@ handle_param_selection_wave(void) {
554 } 559 }
555 } 560 }
556 param_selection_loc = CLAMP(loc + inc, 0, 73); 561 param_selection_loc = CLAMP(loc + inc, 0, 73);
562 redraw_params = true;
557 } 563 }
558 if (key_tap(KEY_UP) || key_tap(KEY_DOWN)) { 564 if (key_tap(KEY_UP) || key_tap(KEY_DOWN)) {
559 int inc = 0; 565 int inc = 0;
@@ -608,6 +614,7 @@ handle_param_selection_wave(void) {
608 } 614 }
609 } 615 }
610 param_selection_loc = CLAMP(loc + inc, 0, 73); 616 param_selection_loc = CLAMP(loc + inc, 0, 73);
617 redraw_params = true;
611 } 618 }
612 619
613 // Adjust parameter. 620 // Adjust parameter.