stop leftward drags from corrupting clip start

This commit is contained in:
Paul Davis 2024-11-25 21:37:55 -07:00
parent bbdc87b6fa
commit 2eece78718

View file

@ -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.;