Skip to content

Commit

Permalink
perf: remove unnecessary closePath
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Oct 8, 2021
1 parent 465976b commit 6641ce5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion smoothie.js
Expand Up @@ -1018,7 +1018,6 @@
context.strokeStyle = seriesOptions.strokeStyle;
context.stroke();
}
context.closePath();
}

if (chartOptions.tooltip && this.mouseX >= 0) {
Expand Down

0 comments on commit 6641ce5

Please sign in to comment.