Skip to content

Commit

Permalink
revert set colour to label line
Browse files Browse the repository at this point in the history
  • Loading branch information
Rittyan committed Sep 22, 2017
1 parent 9103ff2 commit 5edf9b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/core.tooltip.js
Expand Up @@ -705,8 +705,10 @@ module.exports = function(Chart) {
// Inner square
ctx.fillStyle = mergeOpacity(vm.labelColors[i].backgroundColor, opacity);
ctx.fillRect(pt.x + 1, pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);
var textColor = mergeOpacity(vm.labelTextColors[i], opacity);
ctx.fillStyle = textColor;
}
ctx.fillStyle = labelTextColor;

fillLineOfText(line);
});

Expand Down

0 comments on commit 5edf9b1

Please sign in to comment.