Mercurial > hg > svgui
diff view/View.cpp @ 180:29f01de27db4
* Add vertical zooming and snap-to-selection for OSC control;
add a demo script
author | Chris Cannam |
---|---|
date | Wed, 15 Nov 2006 18:22:26 +0000 |
parents | 86cee2b060c7 |
children | 5f86ae638b04 |
line wrap: on
line diff
--- a/view/View.cpp Tue Nov 14 16:06:00 2006 +0000 +++ b/view/View.cpp Wed Nov 15 18:22:26 2006 +0000 @@ -771,7 +771,7 @@ case PlaybackScrollContinuous: if (QApplication::mouseButtons() == Qt::NoButton) { - setCentreFrame(f, false); + setCentreFrame(f, true); //!!! } break; @@ -1451,7 +1451,7 @@ } if (sampleRate && shouldLabelSelections() && m_manager && - m_manager->getOverlayMode() != ViewManager::NoOverlays) { + m_manager->getOverlayMode() == ViewManager::AllOverlays) { QString startText = QString("%1 / %2") .arg(QString::fromStdString