diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-05-01 22:32:57 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-05-01 22:32:57 +0000 |
| commit | 13890bf7f96e6881a42da1e9254279770e1ff73e (patch) | |
| tree | f359a59164773a06d00b8b64e478d57a9fe420f2 /src/ui/tools/calligraphic-tool.cpp | |
| parent | [Bug #1680833] Extrude extension changes edge width thickness. (diff) | |
| download | inkscape-13890bf7f96e6881a42da1e9254279770e1ff73e.tar.gz inkscape-13890bf7f96e6881a42da1e9254279770e1ff73e.zip | |
Calligraphy mode: creates dots on single click.
Fixed bugs:
- https://launchpad.net/bugs/263166
(bzr r15658)
Diffstat (limited to 'src/ui/tools/calligraphic-tool.cpp')
| -rw-r--r-- | src/ui/tools/calligraphic-tool.cpp | 3 |
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; } |
