diff options
author | Valerio Virgillito | 2012-02-16 22:08:04 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 22:08:04 -0800 |
commit | 0175cb67e426a27a3ecfb7b81317caa383c8a5a5 (patch) | |
tree | b4fbfcaabaadff508ad5463e8f71fd643995aacb /js/panels/PanelContainer | |
parent | fe71cb9aa1700199c0089166ad54fc56eb760644 (diff) | |
parent | 9f0c4efe2ed9a00f2c5d85c9d88a8040fedb5d8f (diff) | |
download | ninja-0175cb67e426a27a3ecfb7b81317caa383c8a5a5.tar.gz |
Merge branch 'refs/heads/master' into components
Diffstat (limited to 'js/panels/PanelContainer')
-rwxr-xr-x | js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js index 66333cc0..b8223471 100755 --- a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js +++ b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js | |||
@@ -15,6 +15,7 @@ var CSSPanel = require("js/panels/CSSPanel/CSSPanel").CSSPanel; | |||
15 | var ComponentsPanel = require("js/panels/Components/ComponentsPanel").ComponentsPanel; | 15 | var ComponentsPanel = require("js/panels/Components/ComponentsPanel").ComponentsPanel; |
16 | var ProjectPanel = require("js/panels/Project/ProjectPanel").ProjectPanel; | 16 | var ProjectPanel = require("js/panels/Project/ProjectPanel").ProjectPanel; |
17 | var MaterialsPanel = require("js/panels/Materials/MaterialsPanel").MaterialsPanel; | 17 | var MaterialsPanel = require("js/panels/Materials/MaterialsPanel").MaterialsPanel; |
18 | var PresetsPanel = require("js/panels/presets/presets-panel").PresetsPanel; | ||
18 | 19 | ||
19 | exports.PanelContainer = Montage.create(Component, { | 20 | exports.PanelContainer = Montage.create(Component, { |
20 | lastOffset: { | 21 | lastOffset: { |
@@ -44,7 +45,7 @@ exports.PanelContainer = Montage.create(Component, { | |||
44 | }, | 45 | }, |
45 | 46 | ||
46 | initPanelOrder: { | 47 | initPanelOrder: { |
47 | value: ['PropertiesPanel','ColorPanel','ComponentsPanel','ProjectPanel','CSSPanel','MaterialsPanel'] | 48 | value: ['PropertiesPanel','ColorPanel','ComponentsPanel','ProjectPanel','CSSPanel','MaterialsPanel','PresetsPanel'] |
48 | }, | 49 | }, |
49 | 50 | ||
50 | panelOrder: { | 51 | panelOrder: { |
@@ -99,6 +100,7 @@ exports.PanelContainer = Montage.create(Component, { | |||
99 | this.addEventListener("change@appModel.ComponentsPanel", this, false); | 100 | this.addEventListener("change@appModel.ComponentsPanel", this, false); |
100 | this.addEventListener("change@appModel.CSSPanel", this, false); | 101 | this.addEventListener("change@appModel.CSSPanel", this, false); |
101 | this.addEventListener("change@appModel.MaterialsPanel", this, false); | 102 | this.addEventListener("change@appModel.MaterialsPanel", this, false); |
103 | this.addEventListener("change@appModel.PresetsPanel", this, false); | ||
102 | } | 104 | } |
103 | }, | 105 | }, |
104 | 106 | ||