don't double-apply the effect of a drag with a bounding item to _grab_y
This commit is contained in:
parent
a9163516d8
commit
030052e57f
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user