From 18da89889904d23b32ebee149831cea207caec5e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 22 Dec 2021 14:35:25 -0500 Subject: [PATCH] Swap parameter name and module name in MIDI-Map parameters. --- src/core/MIDIMap.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/MIDIMap.cpp b/src/core/MIDIMap.cpp index eedbaae2..5fb4dd0f 100644 --- a/src/core/MIDIMap.cpp +++ b/src/core/MIDIMap.cpp @@ -368,7 +368,7 @@ struct MIDIMapChoice : LedDisplayChoice { // Set text text = ""; if (module->ccs[id] >= 0) { - text += string::f("CC%02d ", module->ccs[id]); + text += string::f("CC%02d: ", module->ccs[id]); } if (module->paramHandles[id].moduleId >= 0) { text += getParamName(); @@ -412,9 +412,10 @@ struct MIDIMapChoice : LedDisplayChoice { return ""; ParamQuantity* paramQuantity = m->paramQuantities[paramId]; std::string s; - s += mw->model->name; - s += " "; s += paramQuantity->name; + s += " ("; + s += mw->model->name; + s += ")"; return s; } };