From 4247a3a58b569a52267282b2f8fe84cac105a4a0 Mon Sep 17 00:00:00 2001 From: mebitek Date: Tue, 9 Jan 2024 17:23:04 +0100 Subject: [PATCH] issue #14 Launchpad Circuit: manage scales --- .../ui/controllers/launchpad/LaunchpadController.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/sequencer/ui/controllers/launchpad/LaunchpadController.cpp b/src/apps/sequencer/ui/controllers/launchpad/LaunchpadController.cpp index 04dd17b0..832554d6 100644 --- a/src/apps/sequencer/ui/controllers/launchpad/LaunchpadController.cpp +++ b/src/apps/sequencer/ui/controllers/launchpad/LaunchpadController.cpp @@ -1060,8 +1060,10 @@ void LaunchpadController::drawNoteSequenceNotes(const NoteSequence &sequence, No if (col == 7) { n = n + scale.notesPerOctave(); } - Color color = (selectedNote - (scale.notesPerOctave()*selectedOctave))== n ? colorYellow() : colorGreen(1); + Color color = (selectedNote - (scale.notesPerOctave()*selectedOctave))== n ? colorYellow() : colorGreen(3); setGridLed(row, col, color); + } else { + setGridLed(row, col, colorGreen(1)); } } if (_engine.state().running()) {