diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 35b8a0484b..0aa5e53b4e 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2815,14 +2815,8 @@ RubberbandSelectDrag::motion (GdkEvent* event, bool) double y1; double y2; - /* use a bigger drag threshold than the default */ - nframes64_t const pf = adjusted_current_frame (event, Config->get_rubberbanding_snaps_to_grid ()); - if (abs ((int) (pf - grab_frame())) < 8) { - return; - } - nframes64_t grab = grab_frame (); if (Config->get_rubberbanding_snaps_to_grid ()) { _editor->snap_to_with_modifier (grab, event); diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 16ef6c4678..2b0207c7df 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -577,6 +577,10 @@ public: void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); void aborted (); + + std::pair move_threshold () const { + return std::make_pair (8, 1); + } }; /** Region drag in time-FX mode */