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:
Ben Loftis 2020-01-20 16:03:22 -06:00
parent 7966d02534
commit d8d737adc4
5 changed files with 34 additions and 0 deletions

View file

@ -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