mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 21:06:03 +01:00
NO-OP: no need for newlines here
This commit is contained in:
parent
979ae7d97d
commit
07bb9b70b5
1 changed files with 3 additions and 6 deletions
|
|
@ -196,21 +196,18 @@ NoteBase::base_color (int velocity, ARDOUR::ColorMode color_mode, Gtkmm2ext::Col
|
|||
case TrackColor:
|
||||
{
|
||||
const uint32_t region_color = default_color;
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (region_color, opacity), _selected_col,
|
||||
0.5);
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (region_color, opacity), _selected_col, 0.5);
|
||||
}
|
||||
|
||||
case ChannelColors:
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (NoteBase::midi_channel_colors[channel], opacity),
|
||||
_selected_col, 0.5);
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (NoteBase::midi_channel_colors[channel], opacity), _selected_col, 0.5);
|
||||
|
||||
default:
|
||||
if (UIConfiguration::instance().get_use_note_color_for_velocity()) {
|
||||
return meter_style_fill_color(velocity, selected);
|
||||
} else {
|
||||
const uint32_t region_color = default_color;
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (region_color, opacity), _selected_col,
|
||||
0.5);
|
||||
return UINT_INTERPOLATE (UINT_RGBA_CHANGE_A (region_color, opacity), _selected_col, 0.5);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue