13
0

fix track scrolling by using API to reset controls_layout, not doing it directly

This commit is contained in:
Paul Davis 2023-02-01 13:10:00 -07:00
parent 8359311849
commit ee151ee36e

View File

@ -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));