From 1b996ba9d6ddaa6154103ad92f73e842fc56bb8e Mon Sep 17 00:00:00 2001 From: WizardOhio24 Date: Fri, 25 Jan 2019 17:30:43 +0100 Subject: Fix inverted up/down when moving last point placed by pen tool Fixes inbox#20 Closes !504 --- src/ui/tools/pen-tool.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) ); -- cgit v1.2.3