mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Editor zooming: Initialize leftmost_frame, for sessions that start at high timecodes.
This commit is contained in:
parent
d190ad7904
commit
e9f4c5fc1c
1 changed files with 4 additions and 0 deletions
|
|
@ -1319,6 +1319,10 @@ Editor::set_session (Session *t)
|
||||||
return;
|
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);
|
_playlist_selector->set_session (_session);
|
||||||
nudge_clock->set_session (_session);
|
nudge_clock->set_session (_session);
|
||||||
_summary->set_session (_session);
|
_summary->set_session (_session);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue