mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Make it more obvious when a track is Inactive
Inactive tracks will now hide all controls and display only the track name in parenthesis. Color-change is not sufficient by itself to distinguish an inactive track from an active one (consider the case of just 2 tracks...)
This commit is contained in:
parent
7966d02534
commit
d8d737adc4
5 changed files with 34 additions and 0 deletions
|
|
@ -1361,6 +1361,15 @@ MidiTimeAxisView::route_active_changed ()
|
|||
{
|
||||
RouteUI::route_active_changed ();
|
||||
update_control_names();
|
||||
|
||||
if (!_route->active()) {
|
||||
controls_table.hide();
|
||||
inactive_table.show_all();
|
||||
RouteTimeAxisView::hide_all_automation();
|
||||
} else {
|
||||
inactive_table.hide();
|
||||
controls_table.show();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue