use selected (outline) color for MIDI note velocity bar (thanks, cooltehno, for the idea)

This commit is contained in:
Paul Davis 2022-08-31 13:53:43 -06:00
parent 3a8c443499
commit 02b05f295a
3 changed files with 9 additions and 2 deletions

View file

@ -175,7 +175,7 @@ NoteBase::set_selected(bool selected)
const uint32_t base_col = base_color();
set_fill_color (base_col);
set_outline_color(calculate_outline(base_col, (_flags == Selected)));
set_outline_color(calculate_outline (base_col, (_flags == Selected)));
}
#define SCALE_USHORT_TO_UINT8_T(x) ((x) / 257)