trigger strips: name button was intended to be colored

Gtk::Widget::modify_bg() will do nothing to a cairo widget
This commit is contained in:
Paul Davis 2022-08-09 17:36:05 -06:00
parent 42cb321039
commit 6dc1e1f778
1 changed files with 2 additions and 1 deletions

View File

@ -422,7 +422,8 @@ TriggerStrip::set_selected (bool yn)
void
TriggerStrip::route_color_changed ()
{
_name_button.modify_bg (STATE_NORMAL, color ());
Gtkmm2ext::Color c = gdk_color_to_rgba (route_color());
_name_button.set_fixed_colors (c, c);
}
void