From e5f3f24f249ab5d2e260425d774c27f710be43bf Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 18 May 2012 17:26:03 -0700 Subject: CSS Panel - show no styles when all elements are deselected --- js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js') 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, { if(elements.length === 0) { this.hasStyles = false; + this.needsDraw = true; return false; } else if(elements.length === 1) { -- cgit v1.2.3