aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/mediators/element-mediator.js12
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js1
2 files changed, 13 insertions, 0 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index fb3f2f27..919aaec1 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -272,6 +272,18 @@ exports.ElementMediator = Montage.create(Component, {
272 item.element.elementModel.controller["set3DProperties"](item.element, item.properties, update3DModel); 272 item.element.elementModel.controller["set3DProperties"](item.element, item.properties, update3DModel);
273 } 273 }
274 274
275 /*
276 if(eventType === "Change") {
277 var undoLabel = "3D Properties change";
278 elements.forEach(function(elementObject) {
279 var swap = elementObject.properties;
280 elementObject.properties = elementObject.previousProperties;
281 elementObject.previousProperties = swap;
282 });
283 document.application.undoManager.add(undoLabel, this.set3DProperties, this, elements, eventType, source);
284 }
285 */
286
275 var els = elements.map(function(element) { 287 var els = elements.map(function(element) {
276 return element.element; 288 return element.element;
277 }); 289 });
diff --git a/js/panels/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer.reel/PanelContainer.js
index c40bbc21..8d1d6a5e 100755
--- a/js/panels/PanelContainer.reel/PanelContainer.js
+++ b/js/panels/PanelContainer.reel/PanelContainer.js
@@ -45,6 +45,7 @@ exports.PanelContainer = Montage.create(Component, {
45 this['panel_'+i].minHeight= p.minHeight; 45 this['panel_'+i].minHeight= p.minHeight;
46 this['panel_'+i].maxHeight = p.maxHeight; 46 this['panel_'+i].maxHeight = p.maxHeight;
47 this['panel_'+i].flexible = p.flexible; 47 this['panel_'+i].flexible = p.flexible;
48 this['panel_'+i].collapsed = p.collapsed;
48 this['panel_'+i].modulePath = p.modulePath; 49 this['panel_'+i].modulePath = p.modulePath;
49 this['panel_'+i].moduleName = p.moduleName; 50 this['panel_'+i].moduleName = p.moduleName;
50 this['panel_'+i].disabled = true; 51 this['panel_'+i].disabled = true;