From 030052e57fe24185d8ba6449eb4138a431b7029d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 6 Jun 2024 16:09:36 -0600 Subject: [PATCH] don't double-apply the effect of a drag with a bounding item to _grab_y --- gtk2_ardour/editor_drag.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 18cf3c8290..8aef4f7876 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -379,13 +379,7 @@ Drag::start_grab (GdkEvent* event, Gdk::Cursor* cursor) _grab_time = adjusted_time (_raw_grab_time, event); _last_pointer_time = _grab_time; _last_pointer_x = _grab_x; - - - if (_bounding_item) { - _grab_y = _grab_y - _bounding_item->canvas_origin().y; - } - - _last_pointer_y = _grab_y; + _last_pointer_y = _grab_y; _item->grab ();