mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Remove Tooltip opacity from core-controller
This commit is contained in:
parent
fa33f3158e
commit
8398d26d10
@ -458,20 +458,7 @@
|
||||
|
||||
// The usual updates
|
||||
this.tooltip.initialize();
|
||||
|
||||
// Active
|
||||
if (this.tooltipActive.length) {
|
||||
this.tooltip._model.opacity = 1;
|
||||
|
||||
helpers.extend(this.tooltip, {
|
||||
_active: this.tooltipActive,
|
||||
});
|
||||
|
||||
} else {
|
||||
// Inactive
|
||||
this.tooltip._model.opacity = 0;
|
||||
}
|
||||
this.tooltip.update();
|
||||
this.tooltip._active = this.tooltipActive;
|
||||
}
|
||||
|
||||
// Hover animations
|
||||
|
Loading…
Reference in New Issue
Block a user