Skip to content

Commit

Permalink
修改绘图工具绘制偏差
Browse files Browse the repository at this point in the history
  • Loading branch information
zcZhang123 committed Oct 28, 2019
1 parent 3225c8e commit dfb12fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/kline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default {
let kline = document.getElementById("kline");
let canvas = kline.firstChild.firstChild;
let ctx = canvas.getContext("2d");
ctx.drawImage(this.sourceCanvas, 0, 0);
ctx.drawImage(this.sourceCanvas, 35, 0);
}
},
init(clear) {
Expand Down

0 comments on commit dfb12fe

Please sign in to comment.