non-white cursor no longer stays on in programming modes

This commit is contained in:
true 2024-08-08 03:33:23 -07:00
parent 3a48cd8f06
commit d32442da9a
1 changed files with 4 additions and 0 deletions

View File

@ -324,12 +324,16 @@ static void ui_cursor_flash()
case MODE_PROGRAM: {
// cursor is on if this program is flagged as on
cursor[0] = (userconf.ledprog_ena_mask & (1 << preview_idx)) ? 127 : 0;
cursor[1] = 0;
cursor[2] = 0;
break;
}
case MODE_PARAMETER: {
// cursor is on when program is being edited
cursor[0] = rgb_prog_is_editing ? 127 : 0;
cursor[1] = 0;
cursor[2] = 0;
break;
}