aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties.reel/properties.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/properties.reel/properties.js')
-rwxr-xr-xjs/panels/properties.reel/properties.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/panels/properties.reel/properties.js b/js/panels/properties.reel/properties.js
index 8c2daa14..6f43ce03 100755
--- a/js/panels/properties.reel/properties.js
+++ b/js/panels/properties.reel/properties.js
@@ -78,6 +78,7 @@ exports.Properties = Montage.create(Component, {
78 if(this.application.ninja.selectedElements.length === 0 && this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() !== "body") { 78 if(this.application.ninja.selectedElements.length === 0 && this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() !== "body") {
79 this.displayStageProperties(); 79 this.displayStageProperties();
80 } 80 }
81 this.displayElementProperties(this.application.ninja.currentDocument.documentRoot);
81 } 82 }
82 }, 83 },
83 84
@@ -174,8 +175,9 @@ exports.Properties = Montage.create(Component, {
174 handleSelectionChange: { 175 handleSelectionChange: {
175 value: function(event) { 176 value: function(event) {
176 if(event.detail.isDocument) { 177 if(event.detail.isDocument) {
177 if(this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() === "body") return; 178// if(this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() === "body") return;
178 this.displayStageProperties(); 179// this.displayStageProperties();
180 this.displayElementProperties(this.application.ninja.currentDocument.documentRoot);
179 } else { 181 } else {
180 if(this.application.ninja.selectedElements.length === 1) { 182 if(this.application.ninja.selectedElements.length === 1) {
181 this.displayElementProperties(this.application.ninja.selectedElements[0]); 183 this.displayElementProperties(this.application.ninja.selectedElements[0]);