diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-25 14:42:44 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-25 14:43:11 +0100 |
commit | b90c38639ae7ad8f7fe0bb605b1eecd9b981cdac (patch) | |
tree | 50c11eb7cafcb37270bb09340cd4b51ce18f729c /gtk2_ardour/editor_drag.cc | |
parent | 1580c6d635b269e931f45357cdd767bf04a62572 (diff) |
fix drags crossing automation lanes.
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 9be9b63c92..57d4d1f067 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -823,7 +823,9 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move) */ delta_layer = current_pointer_layer - _last_pointer_layer; - } else if (current_pointer_y() >= 0 && _last_pointer_time_axis_view >= 0) { + } + /* for automation lanes, there is a TimeAxisView but no ->view() */ + else if (!tv && current_pointer_y() >= 0 && _last_pointer_time_axis_view >= 0) { /* Moving into the drop-zone.. * * TODO allow moving further down in drop-zone: |