diff main/OSCHandler.cpp @ 2380:efbf5ecb76b6

Fix #1941 Selecting duration of box doesn't work as expected
author Chris Cannam
date Thu, 17 Oct 2019 11:13:50 +0100
parents 1e77e4ee27f5
children f40cd7a512d4
line wrap: on
line diff
--- a/main/OSCHandler.cpp	Thu Oct 17 08:39:23 2019 +0100
+++ b/main/OSCHandler.cpp	Thu Oct 17 11:13:50 2019 +0100
@@ -299,9 +299,9 @@
                 if (layer) {
                     int resolution;
                     layer->snapToFeatureFrame(pane, f0, resolution,
-                                              Layer::SnapLeft);
+                                              Layer::SnapLeft, -1);
                     layer->snapToFeatureFrame(pane, f1, resolution,
-                                              Layer::SnapRight);
+                                              Layer::SnapRight, -1);
                 }
 
             } else if (message.getArgCount() == 1 &&