diff options
Diffstat (limited to 'src/ui/tools/tool-base.cpp')
| -rw-r--r-- | src/ui/tools/tool-base.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/tools/tool-base.cpp b/src/ui/tools/tool-base.cpp index 389056762..cd5defcc6 100644 --- a/src/ui/tools/tool-base.cpp +++ b/src/ui/tools/tool-base.cpp @@ -760,8 +760,9 @@ bool ToolBase::root_handler(GdkEvent* event) { /* ctrl + shift, rotate */ double rotate_inc = prefs->getDoubleLimited( - "/options/rotateincrement/value", M_PI/90, M_PI/180, M_PI/4, "°" ); - + "/options/rotateincrement/value", 15, 1, 90, "°" ); + rotate_inc *= M_PI/180.0; + switch (event->scroll.direction) { case GDK_SCROLL_UP: // Do nothing |
