diff options
author | Armen Kesablyan | 2012-03-07 11:41:10 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-03-07 11:41:10 -0800 |
commit | e3a5626b21ac8b906638bed9eb96aca5fadd26d8 (patch) | |
tree | a1e3e89a275b4b99c661c48aacc727bbb4217f09 /js | |
parent | c7b07a9663ac1553fb10d8541b25274e522e07f7 (diff) | |
download | ninja-e3a5626b21ac8b906638bed9eb96aca5fadd26d8.tar.gz |
Fixed: Collapsed panels would collapse panels below
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-x | js/panels/PanelContainer.reel/PanelContainer.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer.reel/PanelContainer.js index 8cc303dc..3da9b44c 100755 --- a/js/panels/PanelContainer.reel/PanelContainer.js +++ b/js/panels/PanelContainer.reel/PanelContainer.js | |||
@@ -133,7 +133,9 @@ exports.PanelContainer = Montage.create(Component, { | |||
133 | 133 | ||
134 | var childrensMinHeights = (len * 26); | 134 | var childrensMinHeights = (len * 26); |
135 | if (panelActivated) { | 135 | if (panelActivated) { |
136 | childrensMinHeights+= panelActivated.minHeight -26; | 136 | if (!panelActivated.collapsed) { |
137 | childrensMinHeights+= panelActivated.minHeight -26; | ||
138 | } | ||
137 | } | 139 | } |
138 | 140 | ||
139 | for(var i = 0; i < len; i++) { | 141 | for(var i = 0; i < len; i++) { |