From: Tanner Linsley Date: Sun, 1 Nov 2015 00:16:35 +0000 (-0600) Subject: Remove Tooltip opacity from core-controller X-Git-Tag: 2.0.0-beta1~39^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8398d26d10ee030339cafb77519a98857ce9dd66;p=thirdparty%2FChart.js.git Remove Tooltip opacity from core-controller --- diff --git a/src/core/core.controller.js b/src/core/core.controller.js index df0ca25ac..da478378c 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -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