aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmen Kesablyan2012-03-07 11:41:10 -0800
committerArmen Kesablyan2012-03-07 11:41:10 -0800
commite3a5626b21ac8b906638bed9eb96aca5fadd26d8 (patch)
treea1e3e89a275b4b99c661c48aacc727bbb4217f09
parentc7b07a9663ac1553fb10d8541b25274e522e07f7 (diff)
downloadninja-e3a5626b21ac8b906638bed9eb96aca5fadd26d8.tar.gz
Fixed: Collapsed panels would collapse panels below
Signed-off-by: Armen Kesablyan <armen@motorola.com>
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js4
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++) {