part one of allowing region drag to the bottom (drop-zone) rect of track canvas
This commit is contained in:
parent
5626ea2b1f
commit
7e36d4c9bb
|
@ -655,7 +655,6 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
|
|||
TimeAxisView* tv = r.first;
|
||||
|
||||
if (tv) {
|
||||
|
||||
double layer = r.second;
|
||||
|
||||
if (first_move && tv->view()->layer_display() == Stacked) {
|
||||
|
@ -788,7 +787,6 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
|
|||
} else {
|
||||
double y = 0;
|
||||
double x = 0;
|
||||
|
||||
TimeAxisView* last = _time_axis_views.back();
|
||||
last->canvas_display()->item_to_canvas (x, y);
|
||||
y += last->effective_height();
|
||||
|
|
Loading…
Reference in New Issue
Block a user