mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
stop leftward drags from corrupting clip start
This commit is contained in:
parent
bbdc87b6fa
commit
2eece78718
1 changed files with 1 additions and 1 deletions
|
|
@ -7576,7 +7576,7 @@ ClipStartDrag::motion (GdkEvent* event, bool first_move)
|
|||
double pix = current_pointer_x();
|
||||
double crx1 = dragging_rect->item_to_canvas (Duple (r.x1, 0.)).x;
|
||||
|
||||
if (pix > 0.) {
|
||||
if (pix > editing_context.timeline_origin()) {
|
||||
r.x1 = dragging_rect->parent()->canvas_to_item (Duple (pix, 0.0)).x;
|
||||
} else {
|
||||
r.x1 = r.x0 + 1.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue