summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-03-18 02:59:43 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-03-18 02:59:43 +0000
commite46805d62ddb2975490a42c16a44d2232c7dbf37 (patch)
treeaa74060d68578e73c8bf941473d435f89dbfd921 /src/ui/tool/multi-path-manipulator.cpp
parentSet transform center so that odd stars and polygons rotate correctly. (diff)
downloadinkscape-e46805d62ddb2975490a42c16a44d2232c7dbf37.tar.gz
inkscape-e46805d62ddb2975490a42c16a44d2232c7dbf37.zip
Fix a few remaining oddities in handle scaling via keyboard
(bzr r9205)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index fe97058c4..2025a12d7 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -464,6 +464,7 @@ bool MultiPathManipulator::event(GdkEvent *event)
}
if (which == 0) break; // no handle chosen
bool one_pixel = _tracker.leftAlt() || _tracker.rightAlt();
+ bool handled = true;
switch (key) {
// single handle functions
@@ -485,8 +486,12 @@ bool MultiPathManipulator::event(GdkEvent *event)
case GDK_less:
pm.scaleHandle(n, which, -1, one_pixel);
break;
+ default:
+ handled = false;
+ break;
}
- return true;
+
+ if (handled) return true;
} while(0);
}