From 9b8c24c96527bdcea8a47ce97252ec8af90bc91f Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Tue, 6 Jun 2017 19:03:31 -0400 Subject: [PATCH] Make sure that the border width of the tooltip color box is always correct --- src/core/core.tooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index cb21a9bc9..1b4687b0a 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -691,6 +691,7 @@ module.exports = function(Chart) { ctx.fillRect(pt.x, pt.y, bodyFontSize, bodyFontSize); // Border + ctx.lineWidth = 1; ctx.strokeStyle = mergeOpacity(vm.labelColors[i].borderColor, opacity); ctx.strokeRect(pt.x, pt.y, bodyFontSize, bodyFontSize); -- 2.47.3