From 732ac7756ad9caa2ab4b0b181b78e103b967d0fc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 1 Jan 2010 17:39:28 +0000 Subject: [PATCH] Prevent vertical autoscroll when dragging markers. Fixes #2980. git-svn-id: svn://localhost/ardour2/branches/3.0@6429 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_drag.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 *);