From fb0b4d254e21ed7a811833d4c48a307f065346e7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 31 Aug 2024 09:03:00 -0600 Subject: [PATCH] automation time axis should respond to base fill color changes --- gtk2_ardour/automation_time_axis.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 2de5fa9d87..c00b29e98c 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -1042,6 +1042,13 @@ AutomationTimeAxisView::color_handler () if (_line) { _line->set_colors(); } + + if (_base_rect) { + const std::string fill_color_name = (dynamic_cast(get_parent()) + ? "midi automation track fill" + : "audio automation track fill"); + _base_rect->set_fill_color (UIConfiguration::instance().color_mod (fill_color_name, "automation track fill")); + } } int