mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Update ESLint (#3664)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user