aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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++) {