projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d190ad7
)
Editor zooming: Initialize leftmost_frame, for sessions that start at high timecodes.
author
Ben Loftis
<ben@harrisonconsoles.com>
Sun, 27 Aug 2017 01:59:05 +0000
(20:59 -0500)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Sun, 27 Aug 2017 03:44:58 +0000
(22:44 -0500)
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 9b7f112edaebd9cca4b7f1b8c4a0edbef533ff9a..d525761140384c43e4fa42f62ba05cf14d06d60e 100644
(file)
--- 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);