From 2eece78718ef942ab3ef461c06fc4c7d1457063b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 25 Nov 2024 21:37:55 -0700 Subject: [PATCH] stop leftward drags from corrupting clip start --- gtk2_ardour/editor_drag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 769ff865cd..703ae52ef6 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -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.;