From ee151ee36ece91aa5b112d40916bd25d1388876d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 1 Feb 2023 13:10:00 -0700 Subject: [PATCH] fix track scrolling by using API to reset controls_layout, not doing it directly --- gtk2_ardour/editor_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index ade754be11..f66e83c6ec 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -8789,7 +8789,7 @@ Editor::fit_tracks (TrackViewList & tracks) request signal handler will cause the vertical adjustment setting to fail */ - controls_layout.property_height () = _full_canvas_height; + reset_controls_layout_height (_full_canvas_height); vertical_adjustment.set_value (first_y_pos); redo_visual_stack.push_back (current_visual_state (true));