diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-10 00:46:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-10 00:46:22 +0000 |
commit | e3a9576aed924c40a1ac2c9b698433a84ced79aa (patch) | |
tree | c3c29ab39acffd4346839dcd4cf2157c1372141e /gtk2_ardour/editor_drag.h | |
parent | 25655e1a6dae74a10707ebc8faa7b2bd0ab16210 (diff) |
basic xfade dragging
git-svn-id: svn://localhost/ardour2/branches/3.0@12236 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 6 |
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; |