summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/vca_time_axis.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/vca_time_axis.cc b/gtk2_ardour/vca_time_axis.cc
index 887a666934..bd31c73b1a 100644
--- a/gtk2_ardour/vca_time_axis.cc
+++ b/gtk2_ardour/vca_time_axis.cc
@@ -341,6 +341,16 @@ void
VCATimeAxisView::set_height (uint32_t h, TrackHeightMode m)
{
TimeAxisView::set_height (h, m);
+ if (height >= preset_height (HeightNormal)) {
+ drop_button.show ();
+ automation_button.show ();
+ gain_meter.get_gain_slider().show ();
+ } else {
+ drop_button.hide ();
+ automation_button.hide ();
+ gain_meter.get_gain_slider().hide ();
+ }
+
set_gui_property ("height", h);
_vca->gui_changed ("track_height", (void*) 0); /* EMIT SIGNAL */
}