mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Slightly improve rendering of muted regions
A fully transparent waveform (with only a semi-transparent outline) looks very odd with all themes. Perhaps this was a typo and the initially intended rendering was supposed to be 31% transparent, however this is not distinguishable from non-opaque regions (27% transparency).
This commit is contained in:
parent
82bdddb829
commit
45fddc8533
1 changed files with 1 additions and 1 deletions
|
|
@ -1596,7 +1596,7 @@ AudioRegionView::set_some_waveform_colors (vector<ArdourWaveView::WaveView*>& wa
|
||||||
fill = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform fill"), 0xC0);
|
fill = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform fill"), 0xC0);
|
||||||
} else if (_region->muted()) {
|
} else if (_region->muted()) {
|
||||||
outline = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform outline"), 80);
|
outline = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform outline"), 80);
|
||||||
fill = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform fill"), 0);
|
fill = UINT_INTERPOLATE(fill_color, UIConfiguration::instance().color ("covered region"), 0.7);
|
||||||
} else if (!_region->opaque()) {
|
} else if (!_region->opaque()) {
|
||||||
outline = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform outline"), 70);
|
outline = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform outline"), 70);
|
||||||
fill = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform fill"), 70);
|
fill = UINT_RGBA_CHANGE_A(UIConfiguration::instance().color ("waveform fill"), 70);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue