summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index 3c33e4de48..70ec45ac99 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -985,10 +985,14 @@ class CrossfadeEdgeDrag : public Drag
void finished (GdkEvent*, bool);
void aborted (bool);
- bool x_movement_matters () const {
+ bool y_movement_matters () const {
return false;
}
+ virtual std::pair<ARDOUR::framecnt_t, int> move_threshold () const {
+ return std::make_pair (1, 1);
+ }
+
private:
AudioRegionView* arv;
bool start;