Another DnD fix. fix move onto (but not over) busses.
This commit is contained in:
parent
1dfee48139
commit
70e739b29a
@ -814,7 +814,11 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
|
|||||||
*/
|
*/
|
||||||
delta_time_axis_view = current_pointer_time_axis_view - _time_axis_views.size () + _ddropzone - _pdropzone;
|
delta_time_axis_view = current_pointer_time_axis_view - _time_axis_views.size () + _ddropzone - _pdropzone;
|
||||||
} else {
|
} else {
|
||||||
delta_time_axis_view = current_pointer_time_axis_view - _last_pointer_time_axis_view;
|
/* ignore busses early on. we can't move any regions on them */
|
||||||
|
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (tv);
|
||||||
|
if (rtv && rtv->is_track()) {
|
||||||
|
delta_time_axis_view = current_pointer_time_axis_view - _last_pointer_time_axis_view;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO needs adjustment per DraggingView,
|
/* TODO needs adjustment per DraggingView,
|
||||||
|
Loading…
Reference in New Issue
Block a user