From 5ae3ade49bfb9e45e3d8e4b8d4aa8af020457d6a Mon Sep 17 00:00:00 2001 From: DD Liu Date: Fri, 14 Dec 2018 10:46:37 -0500 Subject: [PATCH] Round stroke caps (#798) --- src/containers/line-mode.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/containers/line-mode.jsx b/src/containers/line-mode.jsx index f14badf5..ebe011e5 100644 --- a/src/containers/line-mode.jsx +++ b/src/containers/line-mode.jsx @@ -113,6 +113,7 @@ class LineMode extends React.Component { // If not near other path, start a new path if (!this.path) { this.path = new paper.Path(); + this.path.strokeCap = 'round'; stylePath(this.path, this.props.colorState.strokeColor, this.props.colorState.strokeWidth); this.path.add(event.point);