From 9e8a5f15c90602470f3debe42b4c75f23a7c7691 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 10 Aug 2022 22:34:36 -0600 Subject: [PATCH] optionall colored faders in editor --- gtk2_ardour/route_time_axis.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index ec91321a02..6681efcd95 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1037,7 +1037,11 @@ RouteTimeAxisView::route_color_changed () } number_label.set_fixed_colors (gdk_color_to_rgba (color()), gdk_color_to_rgba (color())); - set_bg_color_from_route (controls_ebox, UIConfiguration::instance().get_use_route_color_for_bg()); + if (UIConfiguration::instance().get_use_route_color_for_bg()) { + gm.set_fader_fg (gdk_color_to_rgba (route_color_tint ())); + } else { + gm.unset_fader_fg (); + } } void