13
0

Prevent vertical autoscroll when dragging markers. Fixes #2980.

git-svn-id: svn://localhost/ardour2/branches/3.0@6429 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-01-01 17:39:28 +00:00
parent 6c717a56e2
commit 732ac7756a

View File

@ -358,6 +358,10 @@ public:
void motion (GdkEvent *, bool); void motion (GdkEvent *, bool);
void finished (GdkEvent *, bool); void finished (GdkEvent *, bool);
bool allow_vertical_autoscroll () const {
return false;
}
private: private:
MeterMarker* _marker; MeterMarker* _marker;
bool _copy; bool _copy;
@ -373,6 +377,10 @@ public:
void motion (GdkEvent *, bool); void motion (GdkEvent *, bool);
void finished (GdkEvent *, bool); void finished (GdkEvent *, bool);
bool allow_vertical_autoscroll () const {
return false;
}
private: private:
TempoMarker* _marker; TempoMarker* _marker;
bool _copy; bool _copy;
@ -436,6 +444,10 @@ public:
void motion (GdkEvent *, bool); void motion (GdkEvent *, bool);
void finished (GdkEvent *, bool); void finished (GdkEvent *, bool);
bool allow_vertical_autoscroll () const {
return false;
}
private: private:
void update_item (ARDOUR::Location *); void update_item (ARDOUR::Location *);