From: Tanner Linsley Date: Sun, 1 Nov 2015 00:17:32 +0000 (-0600) Subject: Update tooltip only when things change (which will only trigger customTooltips when... X-Git-Tag: 2.0.0-beta1~39^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22aabdbfab33328a00dbf8b8f0f650827658709c;p=thirdparty%2FChart.js.git Update tooltip only when things change (which will only trigger customTooltips when model changes) --- diff --git a/src/core/core.controller.js b/src/core/core.controller.js index dd3a05019..2df469516 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -484,6 +484,9 @@ (this.lastTooltipActive.length !== this.tooltipActive.length) || changed) { + if (this.options.tooltips.enabled || this.options.tooltips.custom) { + this.tooltip.update(); + } this.stop(); console.log('render');