summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/calligraphic-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-05-05 14:45:16 +0000
committerjabiertxof <info@marker.es>2017-05-05 14:45:16 +0000
commit89ecd445f13b21093aef1ac00c1ecbc1b9f33697 (patch)
tree561f8b478eded4d89477290ff6b8a4f4015c4807 /src/ui/tools/calligraphic-tool.cpp
parentRemove couts (diff)
parentImprove responsive from LPE (diff)
downloadinkscape-89ecd445f13b21093aef1ac00c1ecbc1b9f33697.tar.gz
inkscape-89ecd445f13b21093aef1ac00c1ecbc1b9f33697.zip
Update to trunk
(bzr r15620.1.17)
Diffstat (limited to 'src/ui/tools/calligraphic-tool.cpp')
-rw-r--r--src/ui/tools/calligraphic-tool.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tools/calligraphic-tool.cpp b/src/ui/tools/calligraphic-tool.cpp
index c2b86b538..7228a52bc 100644
--- a/src/ui/tools/calligraphic-tool.cpp
+++ b/src/ui/tools/calligraphic-tool.cpp
@@ -60,6 +60,7 @@
#include "verbs.h"
#include "ui/tools/calligraphic-tool.h"
+#include "ui/tools/freehand-base.h"
using Inkscape::DocumentUndo;
@@ -771,6 +772,8 @@ bool CalligraphicTool::root_handler(GdkEvent* event) {
this->message_context->clear();
ret = TRUE;
+ } else if (!this->dragging && event->button.button == 1 && !this->space_panning){
+ spdc_create_single_dot(this, this->desktop->w2d(motion_w), "/tools/calligraphic", event->button.state);
}
break;
}