mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Set "opaque region base" alpha to 1.0
This commit is contained in:
parent
a0d36a03b4
commit
516bf1fa17
2 changed files with 13 additions and 13 deletions
|
|
@ -376,17 +376,14 @@ uint32_t
|
|||
AudioRegionView::get_fill_color () const
|
||||
{
|
||||
Gtkmm2ext::Color f = TimeAxisViewItem::get_fill_color();
|
||||
char const *modname;
|
||||
|
||||
const bool opaque = _region->opaque() || trackview.layer_display () == Stacked;
|
||||
|
||||
if (opaque && ( !_dragging && !_region->muted () )) {
|
||||
modname = "opaque region base";
|
||||
return f;
|
||||
} else {
|
||||
modname = "transparent region base";
|
||||
return Gtkmm2ext::HSV(f).mod (UIConfiguration::instance().modifier ("transparent region base")).color ();
|
||||
}
|
||||
|
||||
return Gtkmm2ext::HSV(f).mod (UIConfiguration::instance().modifier (modname)).color ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue