diff options
author | Pushkar Joshi | 2012-02-07 07:21:27 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-07 07:21:27 -0800 |
commit | 4bbe42e6d01fd0f81d13357a75b40eae9925dda3 (patch) | |
tree | 57f49ebfa5d3fcef28753b34015209edda6e620a /js/panels/PanelContainer/PanelContainer.reel | |
parent | e7aa17a9b472640355e95c54841399f6203050d4 (diff) | |
parent | 8950b342d1eda8bfa195372e1c17363a409651cd (diff) | |
download | ninja-4bbe42e6d01fd0f81d13357a75b40eae9925dda3.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/panels/PanelContainer/PanelContainer.reel')
-rw-r--r-- | js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js index 57187af1..66333cc0 100644 --- a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js +++ b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js | |||
@@ -91,7 +91,7 @@ exports.PanelContainer = Montage.create(Component, { | |||
91 | this.panelSplitter.disabled = true; | 91 | this.panelSplitter.disabled = true; |
92 | } | 92 | } |
93 | 93 | ||
94 | this.needsDraw = true; | 94 | // this.needsDraw = true; |
95 | 95 | ||
96 | this.addEventListener("change@appModel.PropertiesPanel", this, false); | 96 | this.addEventListener("change@appModel.PropertiesPanel", this, false); |
97 | this.addEventListener("change@appModel.ProjectPanel", this, false); | 97 | this.addEventListener("change@appModel.ProjectPanel", this, false); |
@@ -198,7 +198,7 @@ exports.PanelContainer = Montage.create(Component, { | |||
198 | minHeights += this.repeater.childComponents[i].element.offsetHeight; | 198 | minHeights += this.repeater.childComponents[i].element.offsetHeight; |
199 | } else { | 199 | } else { |
200 | this._panels[i].isLocked = false; | 200 | this._panels[i].isLocked = false; |
201 | this.repeater.childComponents[i].needsDraw = true; | 201 | if(this.repeater.childComponents[i]) this.repeater.childComponents[i].needsDraw = true; |
202 | minHeights += this._panels[i].minHeight; | 202 | minHeights += this._panels[i].minHeight; |
203 | } | 203 | } |
204 | } | 204 | } |