From b17d5a72cdb3928c44178f556e47b408056835d3 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Sat, 13 Sep 2008 20:03:55 +0000 Subject: [PATCH] More sensible behaviour of the treat-selection-as-group option in align & distribute dialog --- src/ui/dialog/align-and-distribute.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp index 627f10c0c..4d029fe42 100644 --- a/src/ui/dialog/align-and-distribute.cpp +++ b/src/ui/dialog/align-and-distribute.cpp @@ -153,9 +153,12 @@ private : ); //remove the master from the selection SPItem * thing = *master; - if (!sel_as_group) { + // TODO: either uncomment or remove the following commented lines, depending on which + // behaviour of moving objects makes most sense; also cf. discussion at + // https://bugs.launchpad.net/inkscape/+bug/255933 + /*if (!sel_as_group) { */ selected.erase(master); - } + /*}*/ //Compute the anchor point boost::optional b = sp_item_bbox_desktop (thing); if (b) { -- 2.30.2