diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-26 20:59:05 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-26 22:44:58 -0500 |
commit | e9f4c5fc1c9bfd5fa6d5abb88a5161630ad56ef0 (patch) | |
tree | 46776d9cfd06ecf2f42e4352f6282c2977cf47e1 /gtk2_ardour | |
parent | d190ad7904fa75fc27dda4d7415acfe65e2c501c (diff) |
Editor zooming: Initialize leftmost_frame, for sessions that start at high timecodes.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 9b7f112eda..d525761140 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1319,6 +1319,10 @@ Editor::set_session (Session *t) return; } + //initialize leftmost_frame to the extents of the session + //this prevents a bogus setting of leftmost = "0" if the summary view asks for the leftmost frame before the visible state has been loaded from instant.xml + leftmost_frame = session_gui_extents().first; + _playlist_selector->set_session (_session); nudge_clock->set_session (_session); _summary->set_session (_session); |