diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-09-11 18:52:42 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-09-11 18:52:42 +0000 |
| commit | 5cd4a51fc2b0ad30c4baf94d77c8322eb5295bea (patch) | |
| tree | 75d791104b5108841a443c165c5fc5cf0b3af3aa /src/selection-chemistry.cpp | |
| parent | Update shortcuts for 3D box tool (diff) | |
| download | inkscape-5cd4a51fc2b0ad30c4baf94d77c8322eb5295bea.tar.gz inkscape-5cd4a51fc2b0ad30c4baf94d77c8322eb5295bea.zip | |
Compute farthest-from-center point correctly in Alt+rotation
(bzr r3723)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index a8cb4d4fe..251aa6dc0 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1759,7 +1759,7 @@ sp_selection_rotate_screen(Inkscape::Selection *selection, gdouble angle) gdouble const zoom = selection->desktop()->current_zoom(); gdouble const zmove = angle / zoom; - gdouble const r = NR::L2(bbox->max() - *center); + gdouble const r = NR::L2(bbox->cornerFarthestFrom(*center) - *center); gdouble const zangle = 180 * atan2(zmove, r) / M_PI; |
