From 6641ce51400091ccf178c780b08eed61b607b3d9 Mon Sep 17 00:00:00 2001 From: WofWca Date: Fri, 8 Oct 2021 15:31:00 +0800 Subject: [PATCH] perf: remove unnecessary `closePath` --- smoothie.js | 1 - 1 file changed, 1 deletion(-) diff --git a/smoothie.js b/smoothie.js index 728b00b..8ba2aca 100644 --- a/smoothie.js +++ b/smoothie.js @@ -1018,7 +1018,6 @@ context.strokeStyle = seriesOptions.strokeStyle; context.stroke(); } - context.closePath(); } if (chartOptions.tooltip && this.mouseX >= 0) {