diff options
| author | Shlomi Fish <shlomif@shlomifish.org> | 2019-06-12 16:01:28 +0000 |
|---|---|---|
| committer | Shlomi Fish <shlomif@shlomifish.org> | 2019-06-12 16:01:28 +0000 |
| commit | f724d2d99d2195dea3049bfe580b6b6f5386c7b6 (patch) | |
| tree | 7b7ae06ef2f6f16436790e5da14402ec34e1c552 /src/ui/tools | |
| parent | Update comments to match reality. (diff) | |
| download | inkscape-f724d2d99d2195dea3049bfe580b6b6f5386c7b6.tar.gz inkscape-f724d2d99d2195dea3049bfe580b6b6f5386c7b6.zip | |
Refactor: convert rotate_rel() to a method.
Diffstat (limited to 'src/ui/tools')
| -rw-r--r-- | src/ui/tools/tweak-tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/tweak-tool.cpp b/src/ui/tools/tweak-tool.cpp index 1cb757bfd..205de0e5d 100644 --- a/src/ui/tools/tweak-tool.cpp +++ b/src/ui/tools/tweak-tool.cpp @@ -456,7 +456,7 @@ sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, Geom::P if (x < 1) { double angle = (reverse? force : -force) * 0.05 * (cos(M_PI * x) + 1) * M_PI; angle *= -selection->desktop()->yaxisdir(); - sp_item_rotate_rel(item, Geom::Rotate(angle)); + item->rotate_rel(Geom::Rotate(angle)); did = true; } } |
