diff options
| author | Alvin Penner <penner@vaxxine.com> | 2013-04-08 23:11:45 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2013-04-08 23:11:45 +0000 |
| commit | d584419a19bd52b72155846bd1ed942cc285a587 (patch) | |
| tree | 24eb032513818a381eec5257f9381b68dc95c0b9 /src/select-context.cpp | |
| parent | extensions. Desktop Cutting Plotter (DXF R14) output. patch by Yann Papouin f... (diff) | |
| download | inkscape-d584419a19bd52b72155846bd1ed942cc285a587.tar.gz inkscape-d584419a19bd52b72155846bd1ed942cc285a587.zip | |
patch by Damjan Velickovski for rotation snap degrees, Bug 525508
Fixed bugs:
- https://launchpad.net/bugs/525508
(bzr r12274)
Diffstat (limited to 'src/select-context.cpp')
| -rw-r--r-- | src/select-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp index 2684cbc1e..9a88bcf20 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -988,7 +988,7 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) } else if (MOD__CTRL) { sp_selection_rotate(selection, 90); } else if (snaps) { - sp_selection_rotate(selection, 180/snaps); + sp_selection_rotate(selection, 180.0/snaps); } ret = TRUE; break; @@ -1000,7 +1000,7 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) } else if (MOD__CTRL) { sp_selection_rotate(selection, -90); } else if (snaps) { - sp_selection_rotate(selection, -180/snaps); + sp_selection_rotate(selection, -180.0/snaps); } ret = TRUE; break; |
