Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 715:ec8f21a20fa7
Use updated snap api
author | Chris Cannam |
---|---|
date | Thu, 17 Oct 2019 11:13:11 +0100 |
parents | fe268c16ae28 |
children | 55f317633b93 |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Wed Oct 16 15:26:59 2019 +0100 +++ b/framework/MainWindowBase.cpp Thu Oct 17 11:13:11 2019 +0100 @@ -3389,7 +3389,7 @@ bool success = false; while (layer->snapToFeatureFrame(pane, pframe, resolution, - Layer::SnapRight)) { + Layer::SnapRight, -1)) { if (pane->alignToReference(pframe) > playbackFrame) { success = true; break; @@ -3515,7 +3515,7 @@ bool success = false; while (layer->snapToFeatureFrame(pane, pframe, resolution, - Layer::SnapLeft)) { + Layer::SnapLeft, -1)) { if (pane->alignToReference(pframe) < playbackFrame || pframe <= 0) { success = true;