summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2016-01-27 17:10:59 -0600
committerBen Loftis <ben@harrisonconsoles.com>2016-01-28 13:46:33 -0600
commit893b51bda20b6093cf7ca2a79ec3bd079bc3a730 (patch)
tree831cb246ee874571b96ee468d38380ceb6ddacd6
parentaedde118620bdbcd8003f47b140aee4b466a4bd9 (diff)
Center the playhead for stationary_playhead playback.
This avoids a visual discontinuity when playback is initiated after a jog-event.
-rw-r--r--gtk2_ardour/editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 4eb6234845..f07f4341e8 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -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;
}