diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-03-21 20:41:59 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2017-03-21 20:41:59 +0000 |
| commit | a6c82507f599a302e85f1a2faae0c6a27d672d9e (patch) | |
| tree | 005f302120c98d8ac9bf9cc4ff6ef3d1b99f8837 /src/verbs.cpp | |
| parent | Add verbs for canvas rotation. (diff) | |
| download | inkscape-a6c82507f599a302e85f1a2faae0c6a27d672d9e.tar.gz inkscape-a6c82507f599a302e85f1a2faae0c6a27d672d9e.zip | |
Add entry for canvas rotate step in Inkscape Preferences dialog.
Change default rotation step to 15 degrees.
(bzr r15605)
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index d0f2f2614..78967e89b 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1885,7 +1885,8 @@ void ZoomVerb::perform(SPAction *action, void *data) gdouble zoom_inc = prefs->getDoubleLimited( "/options/zoomincrement/value", M_SQRT2, 1.01, 10 ); gdouble rotate_inc = - prefs->getDoubleLimited( "/options/rotateincrement/value", M_PI/90, M_PI/180, M_PI/4, "°" ); + prefs->getDoubleLimited( "/options/rotateincrement/value", 15, 1, 90, "°" ); + rotate_inc *= M_PI/180.0; double zcorr = 1.0; Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit"); |
