diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-04-03 02:24:37 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-04-03 02:24:37 +0000 |
| commit | 078d8b361e3b5c390a5f1b49986b7347f8003d67 (patch) | |
| tree | eced52f8cdc4e513eea574ae61fee836ff268b0a /src/select-context.cpp | |
| parent | Initial fix for the inverted coordinate system bug (diff) | |
| download | inkscape-078d8b361e3b5c390a5f1b49986b7347f8003d67.tar.gz inkscape-078d8b361e3b5c390a5f1b49986b7347f8003d67.zip | |
Fix rotation in node and select tool
(bzr r9281.1.2)
Diffstat (limited to 'src/select-context.cpp')
| -rw-r--r-- | src/select-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp index 8500e9084..9035021d6 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -842,9 +842,9 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) 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; @@ -854,9 +854,9 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) 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; |
