mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00: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…
x
Reference in New Issue
Block a user