add separate color for the border of a selected time axis view item
[ardour.git] / gtk2_ardour / time_axis_view_item.cc
index 495efd578cbbf493e2f1591cc7e7feb4b60bfd3c..8d3d408bc89ef23ad64964396f79cc33fd5614cf 100644 (file)
@@ -750,7 +750,11 @@ TimeAxisViewItem::set_frame_color()
         frame->property_fill_color_rgba() = f;
 
         if (!_recregion) {
-                f = ARDOUR_UI::config()->canvasvar_TimeAxisFrame.get();
+                if (_selected) {
+                        f = ARDOUR_UI::config()->canvasvar_SelectedTimeAxisFrame.get();
+                } else {
+                        f = ARDOUR_UI::config()->canvasvar_TimeAxisFrame.get();
+                }
                 
                 if (!rect_visible) {
                         f = UINT_RGBA_CHANGE_A (f, 64);