Fit Selection (Vertical): if we cant fit all selected tracks, report that to the user. But still fit what we can.

This commit is contained in:
Ben Loftis 2020-01-23 14:11:18 -06:00
parent 85f27b28be
commit c8faadee4b

View File

@ -8173,8 +8173,8 @@ Editor::fit_tracks (TrackViewList & tracks)
if (h < TimeAxisView::preset_height (HeightSmall)) {
ArdourMessageDialog msg (_("There are too many tracks to fit in the current window"));
msg.run ();
/* too small to be displayed */
return;
/* too small to be displayed, just use smallest possible */
h = HeightSmall;
}
undo_visual_stack.push_back (current_visual_state (true));