Skip to content

Commit

Permalink
Make sure that the border width of the tooltip color box is always co…
Browse files Browse the repository at this point in the history
…rrect
  • Loading branch information
etimberg committed Jun 7, 2017
1 parent 2a9a57e commit 9b8c24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/core.tooltip.js
Expand Up @@ -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);

Expand Down

0 comments on commit 9b8c24c

Please sign in to comment.