From b2e93b8fbae9c5ac082c40978801f5b7b1087a5c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 6 Feb 2015 22:46:43 -0500 Subject: [PATCH] fix color and alpha of timestretch rect --- gtk2_ardour/dark.colors | 5 +++-- gtk2_ardour/route_time_axis.cc | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/dark.colors b/gtk2_ardour/dark.colors index 39d713c17f..080824b03c 100644 --- a/gtk2_ardour/dark.colors +++ b/gtk2_ardour/dark.colors @@ -438,7 +438,7 @@ - + @@ -508,7 +508,8 @@ - + + diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 92bee3a4fe..b8d71a1e4c 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -916,7 +916,7 @@ RouteTimeAxisView::show_timestretch (framepos_t start, framepos_t end, int layer if (timestretch_rect == 0) { timestretch_rect = new ArdourCanvas::Rectangle (canvas_display ()); - timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("time stretch fill")); + timestretch_rect->set_fill_color (ArdourCanvas::HSV (ARDOUR_UI::config()->color ("time stretch fill")).mod (ARDOUR_UI::config()->modifier ("time stretch fill")).color()); timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("time stretch outline")); }