mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Update tooltip only when things change (which will only trigger customTooltips when model changes)
This commit is contained in:
parent
5ba1ec0d3b
commit
22aabdbfab
@ -484,6 +484,9 @@
|
|||||||
(this.lastTooltipActive.length !== this.tooltipActive.length) ||
|
(this.lastTooltipActive.length !== this.tooltipActive.length) ||
|
||||||
changed) {
|
changed) {
|
||||||
|
|
||||||
|
if (this.options.tooltips.enabled || this.options.tooltips.custom) {
|
||||||
|
this.tooltip.update();
|
||||||
|
}
|
||||||
this.stop();
|
this.stop();
|
||||||
console.log('render');
|
console.log('render');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user