mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
@ -415,6 +419,10 @@ public:
|
|||
void motion (GdkEvent *, bool);
|
||||
void finished (GdkEvent *, bool);
|
||||
|
||||
bool active (Editing::MouseMode) {
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
AutomationLine* _line;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue