From 51d2b3329c39fb23ec3cdaed09abb5dd601c422a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 2 May 2024 20:23:29 -0600 Subject: [PATCH] more work catching button release after track drag --- gtk2_ardour/time_axis_view.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 2f3432c46d..2d80131689 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -518,6 +518,10 @@ TimeAxisView::maybe_set_cursor (int y) bool TimeAxisView::controls_ebox_button_release (GdkEventButton* ev) { + if (_editor.track_dragging()) { + return false; + } + if (_resize_drag_start >= 0) { if (_have_preresize_cursor) { gdk_window_set_cursor (controls_ebox.get_window()->gobj(), _preresize_cursor);