13
0

don't double-apply the effect of a drag with a bounding item to _grab_y

This commit is contained in:
Paul Davis 2024-06-06 16:09:36 -06:00
parent a9163516d8
commit 030052e57f

View File

@ -379,12 +379,6 @@ 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;
_item->grab ();