Mercurial > hg > svgui
changeset 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 | 488add397d34 |
children | b4acab502786 |
files | view/ViewManager.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; }