Fix drag of region gain control points and lines.

git-svn-id: svn://localhost/ardour2/branches/3.0@5149 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-10 01:23:53 +00:00
parent a77aa6fce8
commit 41eedb1f63
1 changed files with 8 additions and 0 deletions

View File

@ -397,6 +397,10 @@ public:
void motion (GdkEvent *, bool);
void finished (GdkEvent *, bool);
bool active (Editing::MouseMode m) {
return (m == Editing::MouseGain);
}
private:
ControlPoint* _point;
@ -414,6 +418,10 @@ public:
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
void motion (GdkEvent *, bool);
void finished (GdkEvent *, bool);
bool active (Editing::MouseMode) {
return true;
}
private: