summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mixer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r--gtk2_ardour/editor_mixer.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc
index 8b100afae5..8139e91ca7 100644
--- a/gtk2_ardour/editor_mixer.cc
+++ b/gtk2_ardour/editor_mixer.cc
@@ -164,12 +164,16 @@ Editor::update_current_screen ()
frame = session->audible_frame();
+ if (_dragging_playhead) {
+ goto almost_done;
+ }
+
/* only update if the playhead is on screen or we are following it */
if (_follow_playhead) {
-
playhead_cursor->canvas_item.show();
+
if (frame != last_update_frame) {
const jack_nframes_t page_width = current_page_frames();
@@ -209,6 +213,7 @@ Editor::update_current_screen ()
}
}
+ almost_done:
last_update_frame = frame;
if (current_mixer_strip) {