changeset 787:b4acab502786 tonioni

Make sure the play pointer is always visible when the centre line is not
author Chris Cannam
date Thu, 12 Jun 2014 11:27:34 +0100
parents c58569bd952e
children cf1e8a1abb7b
files view/View.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/view/View.cpp	Thu Jun 12 11:10:21 2014 +0100
+++ b/view/View.cpp	Thu Jun 12 11:27:34 2014 +0100
@@ -1820,7 +1820,10 @@
         showPlayPointer = false;
     } else if (m_manager && !m_manager->isPlaying()) {
         if (m_playPointerFrame == getCentreFrame() &&
+            m_manager->shouldShowCentreLine() &&
             m_followPlay != PlaybackIgnore) {
+            // Don't show the play pointer when it is redundant with
+            // the centre line
             showPlayPointer = false;
         }
     }