From 5ba1ec0d3b3cb53c3b8b6ac6c970722420d0abc7 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Sat, 31 Oct 2015 18:17:06 -0600 Subject: [PATCH] More concise change detection --- src/core/core.controller.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/core.controller.js b/src/core/core.controller.js index da478378c..dd3a05019 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -481,9 +481,8 @@ // If entering, leaving, or changing elements, animate the change via pivot if ((this.lastActive.length !== this.active.length) || - (this.lastActive.length === this.active.length && changed) || (this.lastTooltipActive.length !== this.tooltipActive.length) || - (this.lastTooltipActive.length === this.tooltipActive.length && changed)) { + changed) { this.stop(); console.log('render'); -- 2.47.3