From ee832838951cb097685f88478d896db2a35f0efb Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 9 Aug 2009 09:02:00 +0000 Subject: When snapping while translating, use the bounding box corners of each selected item instead of the selection as a whole (fixes bug #404941) (bzr r8449) --- src/select-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select-context.cpp') diff --git a/src/select-context.cpp b/src/select-context.cpp index a5f5202ae..606934ca6 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -535,7 +535,7 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) if (item_at_point && !selection->includes(item_at_point)) selection->set(item_at_point); } // otherwise, do not change selection so that dragging selected-within-group items, as well as alt-dragging, is possible - seltrans->grab(p, -1, -1, FALSE); + seltrans->grab(p, -1, -1, FALSE, TRUE); sc->moved = TRUE; } if (!seltrans->isEmpty()) -- cgit v1.2.3