diff options
author | Carl Hetherington <carl@carlh.net> | 2010-01-01 17:39:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-01-01 17:39:28 +0000 |
commit | 732ac7756ad9caa2ab4b0b181b78e103b967d0fc (patch) | |
tree | 99b3b9d4a343e074a954ff4df4551ed68bd3fd00 /gtk2_ardour/editor_drag.h | |
parent | 6c717a56e28ebc67bcf041a1ee9887d46700a0e7 (diff) |
Prevent vertical autoscroll when dragging markers. Fixes #2980.
git-svn-id: svn://localhost/ardour2/branches/3.0@6429 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 1612dc0ed1..1d9ac151d8 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -358,6 +358,10 @@ public: void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); + bool allow_vertical_autoscroll () const { + return false; + } + private: MeterMarker* _marker; bool _copy; @@ -373,6 +377,10 @@ public: void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); + bool allow_vertical_autoscroll () const { + return false; + } + private: TempoMarker* _marker; bool _copy; @@ -436,6 +444,10 @@ public: void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); + bool allow_vertical_autoscroll () const { + return false; + } + private: void update_item (ARDOUR::Location *); |