mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
show VCA color on number label
This commit is contained in:
parent
851cdf26c9
commit
74f1140e46
1 changed files with 2 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ VCAMasterStrip::VCAMasterStrip (Session* s, boost::shared_ptr<VCA> v)
|
|||
number_label.set_name ("generic button");
|
||||
number_label.set_alignment (.5, .5);
|
||||
number_label.set_fallthrough_to_parent (true);
|
||||
number_label.set_inactive_color (_vca->presentation_info().color ());
|
||||
|
||||
update_bottom_padding ();
|
||||
|
||||
|
|
@ -411,6 +412,7 @@ VCAMasterStrip::vca_property_changed (PropertyChange const & what_changed)
|
|||
|
||||
if (what_changed.contains (ARDOUR::Properties::color)) {
|
||||
vertical_button.set_active_color (_vca->presentation_info().color ());
|
||||
number_label.set_inactive_color (_vca->presentation_info().color ());
|
||||
}
|
||||
|
||||
if (what_changed.contains (ARDOUR::Properties::hidden)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue