mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Revert "don't clamp wave-fill alpha value when using region color"
This reverts commit 4af3e01974265a0f08ca0b09ca8dd66751fe115a. Probably don't want this for Tracks.
This commit is contained in:
parent
f64ebc5a0d
commit
1966d32f73
1 changed files with 14 additions and 0 deletions
|
|
@ -1409,6 +1409,13 @@ AudioRegionView::set_some_waveform_colors (vector<ArdourCanvas::WaveView*>& wave
|
|||
} else {
|
||||
outline = ARDOUR_UI::config()->get_canvasvar_SelectedWaveForm();
|
||||
fill = ARDOUR_UI::config()->get_canvasvar_SelectedWaveFormFill();
|
||||
|
||||
if (ARDOUR_UI::config()->get_color_regions_using_track_color()) {
|
||||
/* just use a slightly transparent version of the selected
|
||||
* color so that some of the track color bleeds through
|
||||
*/
|
||||
fill = UINT_RGBA_CHANGE_A (fill, 217);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (_recregion) {
|
||||
|
|
@ -1422,6 +1429,13 @@ AudioRegionView::set_some_waveform_colors (vector<ArdourCanvas::WaveView*>& wave
|
|||
} else {
|
||||
outline = ARDOUR_UI::config()->get_canvasvar_WaveForm();
|
||||
fill = ARDOUR_UI::config()->get_canvasvar_WaveFormFill();
|
||||
|
||||
if (ARDOUR_UI::config()->get_color_regions_using_track_color()) {
|
||||
/* just use a slightly transparent version of the selected
|
||||
* color so that some of the track color bleeds through
|
||||
*/
|
||||
fill = UINT_RGBA_CHANGE_A (fill, 217);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue