diff view/View.cpp @ 791:b076cefaf708 tonioni

Play pointer: Avoid disconcerting jump when dragging so pointer is at start of pane (without having it leave the pane)
author Chris Cannam
date Thu, 12 Jun 2014 13:42:10 +0100
parents 9fd1bdf214dd
children edada332c374
line wrap: on
line diff
--- a/view/View.cpp	Thu Jun 12 13:14:18 2014 +0100
+++ b/view/View.cpp	Thu Jun 12 13:42:10 2014 +0100
@@ -1060,6 +1060,8 @@
 
             if (xnew > width() / 8) {
                 m_followPlayIsDetached = false;
+            } else if (somethingGoingOn) {
+                m_followPlayIsDetached = true;
             }
 
             if (!somethingGoingOn && shouldScroll) {