Update ESLint (#3664)

This commit is contained in:
Paulus Schoutsen
2019-09-08 23:38:58 -07:00
committed by GitHub
parent 7e7158b816
commit fe31f532b6
13 changed files with 221 additions and 143 deletions

View File

@@ -287,11 +287,12 @@ class HaChartBase extends mixinBehaviors(
}
positionX += this._chart.canvas.offsetLeft;
// Display, position, and set styles for font
this.tooltip = Object.assign({}, this.tooltip, {
this.tooltip = {
...this.tooltip,
opacity: 1,
left: `${positionX}px`,
top: `${positionY}px`,
});
};
}
_legendClick(event) {