non-white cursor no longer stays on in programming modes
This commit is contained in:
parent
3a48cd8f06
commit
d32442da9a
|
@ -324,12 +324,16 @@ static void ui_cursor_flash()
|
||||||
case MODE_PROGRAM: {
|
case MODE_PROGRAM: {
|
||||||
// cursor is on if this program is flagged as on
|
// cursor is on if this program is flagged as on
|
||||||
cursor[0] = (userconf.ledprog_ena_mask & (1 << preview_idx)) ? 127 : 0;
|
cursor[0] = (userconf.ledprog_ena_mask & (1 << preview_idx)) ? 127 : 0;
|
||||||
|
cursor[1] = 0;
|
||||||
|
cursor[2] = 0;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MODE_PARAMETER: {
|
case MODE_PARAMETER: {
|
||||||
// cursor is on when program is being edited
|
// cursor is on when program is being edited
|
||||||
cursor[0] = rgb_prog_is_editing ? 127 : 0;
|
cursor[0] = rgb_prog_is_editing ? 127 : 0;
|
||||||
|
cursor[1] = 0;
|
||||||
|
cursor[2] = 0;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue