]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Don't kill lastActives on chart hover exit
authorTanner Linsley <tannerlinsley@gmail.com>
Sun, 1 Nov 2015 00:15:58 +0000 (18:15 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Sun, 1 Nov 2015 00:15:58 +0000 (18:15 -0600)
src/core/core.controller.js

index c65f7a12bc1bf7700376abad281709556434dd04..df0ca25ac16533bcb38bab0218d5821600b51ab5 100644 (file)
 
                        // Find Active Elements for hover and tooltips
                        if (e.type == 'mouseout') {
-                               this.active = this.lastActive = [];
-                               this.tooltipActive = this.lastTooltipActive = [];
+                               this.active = [];
+                               this.tooltipActive = [];
                        } else {
                                this.active = function() {
                                        switch (this.options.hover.mode) {