From b79bb8174fb7411c985563f5c053d7e4124473b8 Mon Sep 17 00:00:00 2001 From: DD Date: Fri, 20 Oct 2017 14:15:19 -0400 Subject: [PATCH] found a better fix than the in handle = null thing --- src/containers/line-mode.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/containers/line-mode.jsx b/src/containers/line-mode.jsx index 4c327762..ef933d4d 100644 --- a/src/containers/line-mode.jsx +++ b/src/containers/line-mode.jsx @@ -83,8 +83,7 @@ class LineMode extends React.Component { } this.path.lastSegment.handleOut = null; // Make sure added line isn't made curvy - this.path.lastSegment.handleIn = null; // Bug in paper.js? You need to remove the other handle too - this.path.add(this.hitResult.segment); // Add second point, which is what will move when dragged + this.path.add(this.hitResult.segment.point); // Add second point, which is what will move when dragged } // If not near other path, start a new path