summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-02-24 12:55:48 +0100
committerRobin Gareus <robin@gareus.org>2018-02-24 12:55:48 +0100
commit75122af11897aa5bf6b5b9fb2ab5a984eb1ef8a6 (patch)
tree40b996e4f833a86944fb7bbc573c8176ec288b81 /gtk2_ardour/editor.cc
parent881c8eeca8df141959861387b8e3af5c48ba287b (diff)
Fix/amend a23a8ebcad7.
Updated condition to check for transport_rolling to include preroll and count-in (speed is != 0 during pre-roll and count-in, but transport is not actually rolling).
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index b36833aff9..3c1e3916d4 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -5759,8 +5759,8 @@ Editor::super_rapid_screen_update ()
_last_update_time = 0;
}
- if (_session->transport_stopped()) {
- //we are stopped. don't interpolate the playhead position; just set it
+ if (!_session->transport_rolling ()) {
+ /* Do not interpolate the playhead position; just set it */
_last_update_time = 0;
}