show VCA color on number label
authorRobin Gareus <robin@gareus.org>
Thu, 22 Dec 2016 01:00:55 +0000 (02:00 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 22 Dec 2016 01:00:55 +0000 (02:00 +0100)
gtk2_ardour/vca_master_strip.cc

index 9fadf7dd30abd933daec97ef3ec42d25371c7398..a9f7c845be4226eed82bc06b70d729f892bac0a6 100644 (file)
@@ -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)) {