Make sure that the border width of the tooltip color box is always correct

This commit is contained in:
Evert Timberg 2017-06-06 19:03:31 -04:00
parent 2a9a57e316
commit 9b8c24c965

View File

@ -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);