diff options
author | Eric Guzman | 2012-05-18 17:26:03 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-18 17:26:03 -0700 |
commit | e5f3f24f249ab5d2e260425d774c27f710be43bf (patch) | |
tree | a13c6332f3e5cfdaa579558d5abd46c2099ee0c2 /js | |
parent | 4553f48aa17024922569faea1f62e9251a0c0185 (diff) | |
download | ninja-e5f3f24f249ab5d2e260425d774c27f710be43bf.tar.gz |
CSS Panel - show no styles when all elements are deselected
Diffstat (limited to 'js')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js index e63e3c74..3f0cd47e 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js | |||
@@ -88,6 +88,7 @@ exports.StylesViewContainer = Montage.create(Component, { | |||
88 | 88 | ||
89 | if(elements.length === 0) { | 89 | if(elements.length === 0) { |
90 | this.hasStyles = false; | 90 | this.hasStyles = false; |
91 | this.needsDraw = true; | ||
91 | return false; | 92 | return false; |
92 | } else if(elements.length === 1) { | 93 | } else if(elements.length === 1) { |
93 | 94 | ||