13
0

automation time axis should respond to base fill color changes

This commit is contained in:
Paul Davis 2024-08-31 09:03:00 -06:00
parent 3391c69ec0
commit fb0b4d254e

View File

@ -1042,6 +1042,13 @@ AutomationTimeAxisView::color_handler ()
if (_line) { if (_line) {
_line->set_colors(); _line->set_colors();
} }
if (_base_rect) {
const std::string fill_color_name = (dynamic_cast<MidiTimeAxisView*>(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 int