Mercurial > hg > svgui
diff view/View.cpp @ 314:7b96a3261e1c
* "Align mode"
author | Chris Cannam |
---|---|
date | Tue, 16 Oct 2007 18:42:51 +0000 |
parents | 1517c76cd678 |
children | c30a7cd29f4a |
line wrap: on
line diff
--- a/view/View.cpp Tue Oct 16 15:13:41 2007 +0000 +++ b/view/View.cpp Tue Oct 16 18:42:51 2007 +0000 @@ -1055,7 +1055,10 @@ View::getAlignedPlaybackFrame() const { if (!m_manager) return 0; - if (!m_manager->getPlaybackModel()) return m_manager->getPlaybackFrame(); + if (!m_manager->getAlignMode() || + !m_manager->getPlaybackModel()) { + return m_manager->getPlaybackFrame(); + } RangeSummarisableTimeValueModel *waveformModel = 0; for (LayerList::const_iterator i = m_layers.begin(); i != m_layers.end(); ++i) {