summaryrefslogtreecommitdiffstats
path: root/src/seltrans-handles.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2019-02-25 04:08:15 +0000
committerMartin Owens <doctormo@gmail.com>2019-02-25 04:08:15 +0000
commit2434be048e1dd4b78b53ac0d7b32df4b70bb411d (patch)
tree698eb8b6ba00dd18816713cf682116b7f4c398dc /src/seltrans-handles.cpp
parentAdd option for on canvas align handles and move group selection checkbox (diff)
downloadinkscape-2434be048e1dd4b78b53ac0d7b32df4b70bb411d.tar.gz
inkscape-2434be048e1dd4b78b53ac0d7b32df4b70bb411d.zip
Seperate out center alignment and add sepcific tool text for it
Diffstat (limited to 'src/seltrans-handles.cpp')
-rw-r--r--src/seltrans-handles.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/seltrans-handles.cpp b/src/seltrans-handles.cpp
index 5cf2457a1..1c5ed73c1 100644
--- a/src/seltrans-handles.cpp
+++ b/src/seltrans-handles.cpp
@@ -20,7 +20,8 @@ SPSelTransTypeInfo const handtypes[] = {
{ DEF_COLOR, N_("<b>Skew</b> selection; with <b>Ctrl</b> to snap angle; with <b>Shift</b> to skew around the opposite side") },
{ DEF_COLOR, N_("<b>Rotate</b> selection; with <b>Ctrl</b> to snap angle; with <b>Shift</b> to rotate around the opposite corner") },
{ CEN_COLOR, N_("<b>Center</b> of rotation and skewing: drag to reposition; scaling with Shift also uses this center") },
- { DEF_COLOR, N_("<b>Align</b> selected objects to the side clicked; <b>Shift</b> click to align against side instead.") }
+ { DEF_COLOR, N_("<b>Align</b> objects to the side clicked; <b>Shift</b> click to invert side; <b>Ctrl</b> to group whole selection.") },
+ { DEF_COLOR, N_("<b>Align</b> objects to center; <b>Shift</b> click to center vertically instead of horizontally.") }
};
SPSelTransHandle const hands[] = {
@@ -47,7 +48,7 @@ SPSelTransHandle const hands[] = {
{HANDLE_ALIGN, SP_ANCHOR_W, GDK_RIGHT_SIDE, 14, 1, 0.5},
{HANDLE_ALIGN, SP_ANCHOR_N, GDK_BOTTOM_SIDE, 15, 0.5, 0},
{HANDLE_ALIGN, SP_ANCHOR_E, GDK_LEFT_SIDE, 16, 0, 0.5},
- {HANDLE_ALIGN, SP_ANCHOR_CENTER, GDK_CROSSHAIR, 17, 0.5, 0.5},
+ {HANDLE_CENTER_ALIGN, SP_ANCHOR_CENTER, GDK_CROSSHAIR, 17, 0.5, 0.5},
{HANDLE_ALIGN, SP_ANCHOR_SE, GDK_TOP_LEFT_CORNER, 18, 0, 1},
{HANDLE_ALIGN, SP_ANCHOR_SW, GDK_TOP_RIGHT_CORNER, 19, 1, 1},
{HANDLE_ALIGN, SP_ANCHOR_NW, GDK_BOTTOM_RIGHT_CORNER, 20, 1, 0},