summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f14c41)
raw | patch | inline | side by side (parent: 2f14c41)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 3 Apr 2010 02:24:37 +0000 (04:24 +0200) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 3 Apr 2010 02:24:37 +0000 (04:24 +0200) |
src/select-context.cpp | patch | blob | history | |
src/ui/tool/control-point-selection.cpp | patch | blob | history |
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 8500e90846866472e3177afac6e7b03b94d0f3c6..9035021d691d16270d819cee61c7f2ebf858ff66 100644 (file)
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
get_group0_keyval(&event->key), 0); // with any mask
sp_selection_rotate_screen(selection, mul*1);
} else if (MOD__CTRL) {
- sp_selection_rotate(selection, 90);
+ sp_selection_rotate(selection, -90);
} else if (snaps) {
- sp_selection_rotate(selection, 180/snaps);
+ sp_selection_rotate(selection, -180/snaps);
}
ret = TRUE;
break;
get_group0_keyval(&event->key), 0); // with any mask
sp_selection_rotate_screen(selection, -1*mul);
} else if (MOD__CTRL) {
- sp_selection_rotate(selection, -90);
+ sp_selection_rotate(selection, 90);
} else if (snaps) {
- sp_selection_rotate(selection, -180/snaps);
+ sp_selection_rotate(selection, 180/snaps);
}
ret = TRUE;
break;
index dfbf1170a1c317eafb90b580841487729a95c683..c7fc8a3cc041058dbadf1a28d6875c2010cf8c5d 100644 (file)
// rotates
case GDK_bracketleft:
- return _keyboardRotate(event->key, 1);
- case GDK_bracketright:
return _keyboardRotate(event->key, -1);
+ case GDK_bracketright:
+ return _keyboardRotate(event->key, 1);
// scaling
case GDK_less: