From d8d737adc4408fd731254aa7e5e09b262358be68 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 20 Jan 2020 16:03:22 -0600 Subject: 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...) --- gtk2_ardour/audio_time_axis.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gtk2_ardour/audio_time_axis.cc') diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 61c7b25cfc..1e56fbc312 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -290,6 +290,15 @@ void AudioTimeAxisView::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 -- cgit v1.2.3