Skip to content

Commit 9b8c24c

Browse files
committed
Make sure that the border width of the tooltip color box is always correct
1 parent 2a9a57e commit 9b8c24c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/core.tooltip.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ module.exports = function(Chart) {
691691
ctx.fillRect(pt.x, pt.y, bodyFontSize, bodyFontSize);
692692

693693
// Border
694+
ctx.lineWidth = 1;
694695
ctx.strokeStyle = mergeOpacity(vm.labelColors[i].borderColor, opacity);
695696
ctx.strokeRect(pt.x, pt.y, bodyFontSize, bodyFontSize);
696697

0 commit comments

Comments
 (0)