next 2 modifiers
[ardour.git] / gtk2_ardour / time_axis_view.cc
index 8f4f6f76caa486a6c12e84e29b899828f64f6092..7130f9de68a87501dcd782eda4c41c2f1282c32b 100644 (file)
@@ -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<SelectionRect*>::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<SelectionRect*>::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"));