summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-12-10 13:51:46 -0600
committerBen Loftis <ben@harrisonconsoles.com>2015-12-10 13:52:06 -0600
commit1c49ccbc7b900cd3c52adf8450839488657154ad (patch)
tree998b527a319fce01d348134bf50ee161cd750693 /gtk2_ardour/editor.cc
parent0e1ce02941f2df585b41c7ce162995ce9a85a598 (diff)
disabling follow_playhead should have effect when using stationary-playhead
Diffstat (limited to 'gtk2_ardour/editor.cc')
-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 885f92645d..abe979c7e1 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -5715,7 +5715,7 @@ Editor::super_rapid_screen_update ()
} else {
- if (!_dragging_playhead && _session->requested_return_frame() < 0 && !pending_visual_change.being_handled) {
+ 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);
if (target <= 0.0) {