From 32b77f549fdcff5e4bcf14f22532ebb4e652a2e7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 21 Jun 2021 12:45:04 -0600 Subject: [PATCH] fix marker positions after an aborted ripple drag --- gtk2_ardour/editor_drag.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 3d360c167b..bd3ec06942 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2217,6 +2217,10 @@ RegionMotionDrag::aborted (bool) rv->move (-_total_x_delta, 0); rv->set_height (rtv->view()->child_height ()); } + + for (vector::iterator m = ripple_markers.begin(); m != ripple_markers.end(); ++m) { + (*m)->the_item().move (Duple (-_total_x_delta, 0.)); + } } /** @param b true to brush, otherwise false.