mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Make sure that the border width of the tooltip color box is always correct
This commit is contained in:
parent
2a9a57e316
commit
9b8c24c965
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user