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:
parent
a77aa6fce8
commit
41eedb1f63
@ -397,6 +397,10 @@ public:
|
|||||||
void motion (GdkEvent *, bool);
|
void motion (GdkEvent *, bool);
|
||||||
void finished (GdkEvent *, bool);
|
void finished (GdkEvent *, bool);
|
||||||
|
|
||||||
|
bool active (Editing::MouseMode m) {
|
||||||
|
return (m == Editing::MouseGain);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
ControlPoint* _point;
|
ControlPoint* _point;
|
||||||
@ -415,6 +419,10 @@ public:
|
|||||||
void motion (GdkEvent *, bool);
|
void motion (GdkEvent *, bool);
|
||||||
void finished (GdkEvent *, bool);
|
void finished (GdkEvent *, bool);
|
||||||
|
|
||||||
|
bool active (Editing::MouseMode) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
AutomationLine* _line;
|
AutomationLine* _line;
|
||||||
|
Loading…
Reference in New Issue
Block a user