summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-08 19:10:29 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-08 19:10:29 +0000
commit1ba18cb43efcb323a6c29ebe01e51aa268e6d2ab (patch)
tree566b19c5a2da7689f1d1969e584e7508edb47936 /src/seltrans.cpp
parentFixed interactive updating. (diff)
downloadinkscape-1ba18cb43efcb323a6c29ebe01e51aa268e6d2ab.tar.gz
inkscape-1ba18cb43efcb323a6c29ebe01e51aa268e6d2ab.zip
fix shift-dragging (no snap) of rotation center
(bzr r2574)
Diffstat (limited to 'src/seltrans.cpp')
-rw-r--r--src/seltrans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index 067c64859..42a46adb2 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -706,7 +706,7 @@ gboolean Inkscape::SelTrans::handleRequest(SPKnot *knot, NR::Point *position, gu
*position = _point + ( *position - _point ) / 10;
}
- if (!(state & GDK_SHIFT_MASK) == !(_state == STATE_ROTATE)) {
+ if ((!(state & GDK_SHIFT_MASK) == !(_state == STATE_ROTATE)) && (&handle != &handle_center)) {
_origin = _opposite;
} else {
_origin = _center;