# HG changeset patch # User Chris Cannam # Date 1402567821 -3600 # Node ID c58569bd952ea5be83596e812d66f717ad826aad # Parent 488add397d34e6944f87a625689bbba5bffb5cf3 Play pointer: don't seek playback when scrolling, except in ScrollContinuous mode diff -r 488add397d34 -r c58569bd952e view/ViewManager.cpp --- 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(v) || (mode != PlaybackIgnore)) { + if (!dynamic_cast(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; }