From 13890bf7f96e6881a42da1e9254279770e1ff73e Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Tue, 2 May 2017 00:32:57 +0200 Subject: Calligraphy mode: creates dots on single click. Fixed bugs: - https://launchpad.net/bugs/263166 (bzr r15658) --- src/ui/tools/calligraphic-tool.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/tools/calligraphic-tool.cpp') 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; } -- cgit v1.2.3