summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-04 11:38:20 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-04 11:38:20 +0000
commit224de42669ff754155838d37c48a56fa70c9bc94 (patch)
tree4dc12fe01f1ac68c1daa0204e172e48641a8cbb6 /src/ui/tools/pen-tool.cpp
parentupdate to trunk (diff)
downloadinkscape-224de42669ff754155838d37c48a56fa70c9bc94.tar.gz
inkscape-224de42669ff754155838d37c48a56fa70c9bc94.zip
Reduce a half the spiro distance to redraw
(bzr r11950.1.273)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
-rw-r--r--src/ui/tools/pen-tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp
index 5846c3cec..0c97bd445 100644
--- a/src/ui/tools/pen-tool.cpp
+++ b/src/ui/tools/pen-tool.cpp
@@ -710,7 +710,7 @@ gint PenTool::_handleMotionNotify(GdkEventMotion const &mevent) {
this->_bspline_spiro_color();
this->_bspline_spiro_motion(mevent.state & GDK_SHIFT_MASK);
}else{
- if ( Geom::LInfty( event_w - pen_drag_origin_w ) > tolerance || mevent.time == 0) {
+ if ( Geom::LInfty( event_w - pen_drag_origin_w ) > (tolerance/2) || mevent.time == 0) {
this->_bspline_spiro_color();
this->_bspline_spiro_motion(mevent.state & GDK_SHIFT_MASK);
pen_drag_origin_w = event_w;