diff options
author | Eric Guzman | 2012-05-16 14:14:25 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-16 14:14:25 -0700 |
commit | bbca3e05b39d43ce13c2f3e48cb33630ed7948b9 (patch) | |
tree | e58af8ca54b5ac21d42497986ff4ec3f4f2d1b33 /js/panels/css-panel/rule-list.reel | |
parent | 73e98aef1ffa370c196c9c752d58dd4ed5f4faff (diff) | |
download | ninja-bbca3e05b39d43ce13c2f3e48cb33630ed7948b9.tar.gz |
CSS Panel - Added flag to draw method to improve perceived loading time
Diffstat (limited to 'js/panels/css-panel/rule-list.reel')
-rw-r--r-- | js/panels/css-panel/rule-list.reel/rule-list.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/css-panel/rule-list.reel/rule-list.js b/js/panels/css-panel/rule-list.reel/rule-list.js index bca298df..b7244a2c 100644 --- a/js/panels/css-panel/rule-list.reel/rule-list.js +++ b/js/panels/css-panel/rule-list.reel/rule-list.js | |||
@@ -184,6 +184,9 @@ exports.RuleList = Montage.create(Component, { | |||
184 | ///// Null out any rules that were just drawn | 184 | ///// Null out any rules that were just drawn |
185 | this.rulesToDraw.length = 0; | 185 | this.rulesToDraw.length = 0; |
186 | this.rulesToRemove.length = 0; | 186 | this.rulesToRemove.length = 0; |
187 | |||
188 | this.parentComponent.ruleListDrawn = true; | ||
189 | this.parentComponent.needsDraw = true; | ||
187 | } | 190 | } |
188 | } | 191 | } |
189 | }); | 192 | }); |