From d5050cd0f4a88e8a0f1da3c4f0021b2ec260991f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 3 May 2016 02:19:26 +0200 Subject: [PATCH] mark initial TAV as hidden to speed up initial display. This prevents an extra call to "redisplay" from TAV::hide() which triggers handle_gui_changes. Visible TAVs are positioned using show_at() which unsets _hidden. --- gtk2_ardour/time_axis_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 27db10c99b..6b780a7fc7 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -96,7 +96,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie , parent (rent) , selection_group (0) , _ghost_group (0) - , _hidden (false) + , _hidden (true) , in_destructor (false) , _size_menu (0) , _canvas_display (0)