Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondu committed Sep 5, 2018
1 parent 4f70432 commit 921657f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion miniprogram_dist/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const handle = {
}
this.ctx.save();
this.ctx.moveTo(this.toPx(x), this.toPx(lineY));
this.ctx.lineTo(this.toPx(x) + textWidth, this.toPx(lineY));
this.ctx.lineTo(this.toPx(x) + this.toPx(textWidth), this.toPx(lineY));
this.ctx.setStrokeStyle(color);
this.ctx.stroke();
this.ctx.restore();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wxa-plugin-canvas",
"version": "1.1.2",
"version": "1.1.3",
"description": "小程序海报组件",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 921657f

Please sign in to comment.