mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
aedde11862
commit
893b51bda2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue