diff options
| author | WizardOhio24 <rdmenzies2000@gmail.com> | 2019-01-25 16:30:43 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-01-25 16:35:10 +0000 |
| commit | 1b996ba9d6ddaa6154103ad92f73e842fc56bb8e (patch) | |
| tree | f3b2c1eb482997910c26208d0b95fc4604f15133 /src/ui/tools/pen-tool.cpp | |
| parent | Rewrite main menu bar code: (diff) | |
| download | inkscape-1b996ba9d6ddaa6154103ad92f73e842fc56bb8e.tar.gz inkscape-1b996ba9d6ddaa6154103ad92f73e842fc56bb8e.zip | |
Fix inverted up/down when moving last point placed by pen tool
Fixes inbox#20
Closes !504
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
| -rw-r--r-- | src/ui/tools/pen-tool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index 89d100c71..84933b929 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -917,6 +917,8 @@ void PenTool::_lastpointMove(gdouble x, gdouble y) { if (this->npoints != 5) return; + y *= -this->desktop->yaxisdir(); + // green if (!this->green_curve->is_unset()) { this->green_curve->last_point_additive_move( Geom::Point(x,y) ); |
