mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix incorrect automation point drags when a drag is started with push held and finished without it.
git-svn-id: svn://localhost/ardour2/branches/3.0@12509 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a4ed608e4d
commit
556732df80
2 changed files with 4 additions and 1 deletions
|
|
@ -558,7 +558,9 @@ AutomationLine::drag_motion (double const x, float fraction, bool ignore_x, bool
|
|||
}
|
||||
|
||||
_drag_had_movement = true;
|
||||
did_push = with_push;
|
||||
if (with_push) {
|
||||
did_push = with_push;
|
||||
}
|
||||
|
||||
return clamped;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -170,6 +170,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible
|
|||
bool update_pending : 1;
|
||||
bool no_draw : 1;
|
||||
bool _is_boolean : 1;
|
||||
/** true if we did a push at any point during the current drag */
|
||||
bool did_push;
|
||||
|
||||
ArdourCanvas::Group& _parent_group;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue