diff framework/SVFileReader.cpp @ 379:6a84102c006a

Create separate play scroll modes for (Tony-style, DAW-style) page mode and (SV-style) paging with playhead alignment to centre on drag
author Chris Cannam
date Wed, 02 Jul 2014 17:30:09 +0100
parents f1cab64363d7
children 7657075ecfca
line wrap: on
line diff
--- a/framework/SVFileReader.cpp	Wed Jul 02 15:09:51 2014 +0100
+++ b/framework/SVFileReader.cpp	Wed Jul 02 17:30:09 2014 +0100
@@ -767,7 +767,8 @@
     view->setFollowGlobalPan(followPan);
     view->setFollowGlobalZoom(followZoom);
     view->setPlaybackFollow(tracking == "scroll" ? PlaybackScrollContinuous :
-			    tracking == "page" ? PlaybackScrollPage
+			    tracking == "page" ? PlaybackScrollPageWithCentre :
+			    tracking == "daw" ? PlaybackScrollPage
 			    : PlaybackIgnore);
 
     // Then set these values