Skip to content

Commit

Permalink
修改写字板绘制问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zcZhang123 committed Oct 24, 2019
1 parent bfaec2a commit 33014fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/DrawToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class DrawToolbar {
}

// 绘制写字板
drawTablet(x2, y2) {
drawTablet(x1, y1, x2, y2) {
this.ctx.lineTo(x2, y2);
this.ctx[this.type]();
}
Expand Down

0 comments on commit 33014fe

Please sign in to comment.