Code

Fix inverted node alignment actions
authortweenk <tweenk@users.sourceforge.net>
Fri, 3 Apr 2009 02:26:07 +0000 (02:26 +0000)
committertweenk <tweenk@users.sourceforge.net>
Fri, 3 Apr 2009 02:26:07 +0000 (02:26 +0000)
src/ui/dialog/align-and-distribute.cpp

index 09fe89cff22b209d7b94c66d7551c38adc7710f5..6d2ed20da8db89ac7ba2f667ce28c03d2c373450 100644 (file)
@@ -894,10 +894,10 @@ AlignAndDistribute::AlignAndDistribute()
     //Node Mode buttons
     addNodeButton(INKSCAPE_ICON_ALIGN_HORIZONTAL_NODES,
                   _("Align selected nodes horizontally"),
-                  0, Geom::X, false);
+                  0, Geom::Y, false);
     addNodeButton(INKSCAPE_ICON_ALIGN_VERTICAL_NODES,
                   _("Align selected nodes vertically"),
-                  1, Geom::Y, false);
+                  1, Geom::X, false);
     addNodeButton(INKSCAPE_ICON_DISTRIBUTE_HORIZONTAL_NODE,
                   _("Distribute selected nodes horizontally"),
                   2, Geom::X, true);