diff options
Diffstat (limited to 'js/panels/properties.reel/sections')
-rwxr-xr-x | js/panels/properties.reel/sections/custom.reel/custom.js | 4 | ||||
-rwxr-xr-x | js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/js/panels/properties.reel/sections/custom.reel/custom.js b/js/panels/properties.reel/sections/custom.reel/custom.js index 17b64dc2..411de2f6 100755 --- a/js/panels/properties.reel/sections/custom.reel/custom.js +++ b/js/panels/properties.reel/sections/custom.reel/custom.js | |||
@@ -139,7 +139,7 @@ exports.CustomSection = Montage.create(Component, { | |||
139 | value: function(event) { | 139 | value: function(event) { |
140 | // Change the stage color for now | 140 | // Change the stage color for now |
141 | //console.log(this, event); | 141 | //console.log(this, event); |
142 | 142 | ||
143 | if (event._event.colorMode !== 'gradient' && event._event.color) { | 143 | if (event._event.colorMode !== 'gradient' && event._event.color) { |
144 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-color', [event._event.color.css], "Change", "pi", ''); | 144 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-color', [event._event.color.css], "Change", "pi", ''); |
145 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-image', ['none'], "Change", "pi", ''); | 145 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-image', ['none'], "Change", "pi", ''); |
@@ -150,7 +150,7 @@ exports.CustomSection = Montage.create(Component, { | |||
150 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-image', ['none'], "Change", "pi", ''); | 150 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-image', ['none'], "Change", "pi", ''); |
151 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-color', ['none'], "Change", "pi", ''); | 151 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], 'background-color', ['none'], "Change", "pi", ''); |
152 | } | 152 | } |
153 | 153 | ||
154 | /* | 154 | /* |
155 | if (event._event.color && event._event.color.css) { | 155 | if (event._event.color && event._event.color.css) { |
156 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], this.id, [event._event.color.css], "Change", "pi", ''); | 156 | ElementsMediator.setProperty([this.application.ninja.currentDocument.model.documentRoot], this.id, [event._event.color.css], "Change", "pi", ''); |
diff --git a/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js index 52750f13..88c2f522 100755 --- a/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js +++ b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js | |||
@@ -49,7 +49,7 @@ exports.ThreeD = Montage.create(Component, { | |||
49 | }, | 49 | }, |
50 | set: function(value) { | 50 | set: function(value) { |
51 | this._axisMode = value; | 51 | this._axisMode = value; |
52 | 52 | ||
53 | if(value === 0) { | 53 | if(value === 0) { |
54 | this.inGlobalMode = false; | 54 | this.inGlobalMode = false; |
55 | this.x3D = 0; | 55 | this.x3D = 0; |