Center the playhead for stationary_playhead playback.

This avoids a visual discontinuity when playback is initiated after a jog-event.
This commit is contained in:
Ben Loftis 2016-01-27 17:10:59 -06:00
parent aedde11862
commit 893b51bda2

View file

@ -5721,7 +5721,7 @@ Editor::super_rapid_screen_update ()
if (!_dragging_playhead && _follow_playhead && _session->requested_return_frame() < 0 && !pending_visual_change.being_handled) {
framepos_t const frame = playhead_cursor->current_frame ();
double target = ((double)frame - (double)current_page_samples()/3.0);
double target = ((double)frame - (double)current_page_samples()/2.0);
if (target <= 0.0) {
target = 0.0;
}