diff options
author | nick_m <mainsbridge@gmail.com> | 2016-11-20 04:55:34 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-20 04:55:34 +1100 |
commit | 3d1d2feff7cab0063931d8b1bc9cee3b296b4141 (patch) | |
tree | 91b3098e0b6b1a4d9819ae6734cf4f7e17ece269 /gtk2_ardour/editor_drag.h | |
parent | 0af9fb0dee58606aedde709443ce96fa3764b5b3 (diff) |
make it clear that there is no drag threshold for NoteCreateDrag.
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 1b8bfb1408..0a413f05ba 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -591,6 +591,11 @@ private: double y_to_region (double) const; ARDOUR::framecnt_t grid_frames (framepos_t) const; + /** @return minimum number of frames (in x) and pixels (in y) that should be considered a movement */ + virtual std::pair<ARDOUR::framecnt_t, int> move_threshold () const { + return std::make_pair (0, 0); + } + MidiRegionView* _region_view; ArdourCanvas::Rectangle* _drag_rect; framepos_t _note[2]; |