Mercurial > hg > svgui
comparison view/View.cpp @ 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 | 488add397d34 |
children | 9fd1bdf214dd |
comparison
equal
deleted
inserted
replaced
786:c58569bd952e | 787:b4acab502786 |
---|---|
1818 } else if (long(m_playPointerFrame) <= getStartFrame() || | 1818 } else if (long(m_playPointerFrame) <= getStartFrame() || |
1819 m_playPointerFrame >= getEndFrame()) { | 1819 m_playPointerFrame >= getEndFrame()) { |
1820 showPlayPointer = false; | 1820 showPlayPointer = false; |
1821 } else if (m_manager && !m_manager->isPlaying()) { | 1821 } else if (m_manager && !m_manager->isPlaying()) { |
1822 if (m_playPointerFrame == getCentreFrame() && | 1822 if (m_playPointerFrame == getCentreFrame() && |
1823 m_manager->shouldShowCentreLine() && | |
1823 m_followPlay != PlaybackIgnore) { | 1824 m_followPlay != PlaybackIgnore) { |
1825 // Don't show the play pointer when it is redundant with | |
1826 // the centre line | |
1824 showPlayPointer = false; | 1827 showPlayPointer = false; |
1825 } | 1828 } |
1826 } | 1829 } |
1827 | 1830 |
1828 if (showPlayPointer) { | 1831 if (showPlayPointer) { |