Improve scrolling performance for sessions containing hundreds of regions over many...
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 12a0f8a86ad5411bcdefa7739e948e9daba07eed..f67dd960343475a6a792d027d4853694e9574ac5 100644 (file)
@@ -367,11 +367,11 @@ AutomationTimeAxisView::set_height (uint32_t h)
                        clear_button.hide();
                        hide_button.hide();
                }
-       } else  if (h >= hNormal){
-                       auto_button.show();
-                       height_button.show();
-                       clear_button.show();
-                       hide_button.show_all();
+       } else if (h >= hNormal){
+               auto_button.show();
+               height_button.show();
+               clear_button.show();
+               hide_button.show_all();
        }
 
        if (changed) {