diff options
Diffstat (limited to 'js/panels/Materials/materials-library-panel.reel/materials-library-panel.js')
-rwxr-xr-x | js/panels/Materials/materials-library-panel.reel/materials-library-panel.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.js b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.js index b5d6bb96..1cf3cec7 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.js +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.js | |||
@@ -40,8 +40,8 @@ exports.MaterialsLibraryPanel = Montage.create(Component, { | |||
40 | }, | 40 | }, |
41 | 41 | ||
42 | _hasFocus: { | 42 | _hasFocus: { |
43 | enumerable: false, | 43 | enumerable: false, |
44 | value: false | 44 | value: false |
45 | }, | 45 | }, |
46 | 46 | ||
47 | didCreate: { | 47 | didCreate: { |
@@ -98,10 +98,10 @@ exports.MaterialsLibraryPanel = Montage.create(Component, { | |||
98 | }, | 98 | }, |
99 | 99 | ||
100 | _showMaterialPopup: { | 100 | _showMaterialPopup: { |
101 | enumerable: false, | 101 | enumerable: false, |
102 | value: function (materialObj) { | 102 | value: function (materialObj) { |
103 | 103 | ||
104 | if(!this._materialPopup) | 104 | if(!this._materialPopup) |
105 | { | 105 | { |
106 | this._materialPopup = Popup.create(); | 106 | this._materialPopup = Popup.create(); |
107 | this._materialPopup.content = this._materialInfo; | 107 | this._materialPopup.content = this._materialInfo; |
@@ -113,15 +113,15 @@ exports.MaterialsLibraryPanel = Montage.create(Component, { | |||
113 | 113 | ||
114 | materialID = materialObj.materialId; | 114 | materialID = materialObj.materialId; |
115 | this._materialInfo.loadMaterials(materialID, materialObj.useSelection, materialObj.whichMaterial); | 115 | this._materialInfo.loadMaterials(materialID, materialObj.useSelection, materialObj.whichMaterial); |
116 | } | 116 | } |
117 | }, | 117 | }, |
118 | 118 | ||
119 | handleHideMaterialPopup: { | 119 | handleHideMaterialPopup: { |
120 | enumerable: false, | 120 | enumerable: false, |
121 | value: function (event) { | 121 | value: function (event) { |
122 | if(this._materialPopup){ | 122 | if(this._materialPopup){ |
123 | this._materialPopup.hide(); | 123 | this._materialPopup.hide(); |
124 | } | 124 | } |
125 | } | 125 | } |
126 | } | 126 | } |
127 | }); | 127 | }); |