Closing the path on a quadratic makes the starting node a line segment
If we start drawing a path with a quadratic (hold + drag), when we try to close the path (by naturally clicking on the first placed node, that node becomes a line segment thus destroying the original first quadratic.
Is this the expected behavior in CAD programs or is this a bug?
EDIT: This affects Chrome Canary/FF but it seems that IE11 is just fine for some strange reason.
The behavior is build to match Adobe Illustrator, including click-drag to shape the handle when closing.
The code for resetting the handle is near line 1476: this.mode == 'close' this.currentSegment.handleIn.set(0,0);
Thanks for taking the time to answer, but i am talking about the first segment becoming a line segment, not the last.
The user draws the first segment as a quadratic and upon closing the path, the first segment becomes a line. Shouldn't the first segment retain it's quadratic nature when we close the path with a single click? (no click/drag)
The monster of Loch ness ...
Sometimes you see it, sometimes you don't.
I am pretty much convinced that sometimes the Pen tool doesn't allow the user to convert the path tail from a curve to a line and vice versa. It just converts the previous segment to a line.
It should preserve the previous segment just the way it was and just convert the last-placed-node to a quadratic and let the path-tail become a line-style segment.
I am also pretty convinced that when this happens, the issue with the first segment becoming a line appears too.
I have no idea what's up, sometimes it just works and other's it doesn't. It might be because I don't really understand the Pen tool which I am convinced I do.