From: Evert Timberg Date: Tue, 6 Jun 2017 23:03:31 +0000 (-0400) Subject: Make sure that the border width of the tooltip color box is always correct X-Git-Tag: v2.7.0~1^2~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b8c24c96527bdcea8a47ce97252ec8af90bc91f;p=thirdparty%2FChart.js.git Make sure that the border width of the tooltip color box is always correct --- 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);