X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftime_axis_view.cc;h=7130f9de68a87501dcd782eda4c41c2f1282c32b;hb=2145fd2973528b7f2b8b4c3cd090fcff23ff6722;hp=8f4f6f76caa486a6c12e84e29b899828f64f6092;hpb=eac478495ec0084ba143d309e2e995ef4d5d98ab;p=ardour.git diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 8f4f6f76ca..7130f9de68 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -1025,7 +1025,7 @@ TimeAxisView::get_selection_rect (uint32_t id) rect->rect = new ArdourCanvas::TimeRectangle (selection_group); CANVAS_DEBUG_NAME (rect->rect, "selection rect"); rect->rect->set_outline (false); - rect->rect->set_fill_color (ARDOUR_UI::config()->color ("selection rect")); + rect->rect->set_fill_color (ARDOUR_UI::config()->color_mod ("selection rect", "selection rect")); rect->start_trim = new ArdourCanvas::Rectangle (selection_group); CANVAS_DEBUG_NAME (rect->start_trim, "selection rect start trim"); @@ -1190,7 +1190,7 @@ TimeAxisView::color_handler () for (list::iterator i = used_selection_rects.begin(); i != used_selection_rects.end(); ++i) { - (*i)->rect->set_fill_color (ARDOUR_UI::config()->color ("selection rect")); + (*i)->rect->set_fill_color (ARDOUR_UI::config()->color_mod ("selection rect", "selection rect")); (*i)->rect->set_outline_color (ARDOUR_UI::config()->color ("selection")); (*i)->start_trim->set_fill_color (ARDOUR_UI::config()->color ("selection")); @@ -1202,7 +1202,7 @@ TimeAxisView::color_handler () for (list::iterator i = free_selection_rects.begin(); i != free_selection_rects.end(); ++i) { - (*i)->rect->set_fill_color (ARDOUR_UI::config()->color ("selection rect")); + (*i)->rect->set_fill_color (ARDOUR_UI::config()->color_mod ("selection rect", "selection rect")); (*i)->rect->set_outline_color (ARDOUR_UI::config()->color ("selection")); (*i)->start_trim->set_fill_color (ARDOUR_UI::config()->color ("selection"));