Skip to content

Commit

Permalink
fix: fix drawingMove
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkzt committed May 16, 2020
1 parent 84634d7 commit 62b2d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drawing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export class SvgDrawing extends Renderer {
this._line.strokeWidth !== this.penWidth ||
this._line.stroke !== this.penColor
) {
this._line = this._createPath()
this._updateRender()
this._line = this._createPath().addPoint(po)
this.addPath(this._line)
this.addPoint(po)
}
this._updateRender()
}
Expand Down

0 comments on commit 62b2d00

Please sign in to comment.