Mercurial > hg > svgui
diff view/ViewManager.cpp @ 786:c58569bd952e tonioni
Play pointer: don't seek playback when scrolling, except in ScrollContinuous mode
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 11:10:21 +0100 |
parents | b75c95e7f906 |
children | 40c6c9344ff6 |
line wrap: on
line diff
--- a/view/ViewManager.cpp Wed Jun 11 21:43:38 2014 +0100 +++ b/view/ViewManager.cpp Thu Jun 12 11:10:21 2014 +0100 @@ -554,7 +554,7 @@ if (v) emit viewCentreFrameChanged(v, f); } - if (!dynamic_cast<Overview *>(v) || (mode != PlaybackIgnore)) { + if (!dynamic_cast<Overview *>(v) || (mode == PlaybackScrollContinuous)) { if (m_mainModelSampleRate != 0) { emit activity(tr("Scroll to %1") .arg(RealTime::frame2RealTime @@ -562,7 +562,7 @@ } } - if (mode == PlaybackIgnore) { + if (mode != PlaybackScrollContinuous) { return; }