# HG changeset patch # User Chris Cannam # Date 1571307191 -3600 # Node ID ec8f21a20fa7c03bd75b22504d931f42b8f51b3c # Parent fe268c16ae28ae0936a1700f60dbf65318a99486 Use updated snap api diff -r fe268c16ae28 -r ec8f21a20fa7 framework/MainWindowBase.cpp --- 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;