mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
automation time axis should respond to base fill color changes
This commit is contained in:
parent
3391c69ec0
commit
fb0b4d254e
1 changed files with 7 additions and 0 deletions
|
|
@ -1042,6 +1042,13 @@ AutomationTimeAxisView::color_handler ()
|
|||
if (_line) {
|
||||
_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue