changeset 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 7555b8b17e6e
children 0ba792bb235b
files view/View.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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) {