aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel/Tween.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/Tween.reel/Tween.js')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index bcd3d75f..846c2f1c 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -240,22 +240,18 @@ var Tween = exports.Tween = Montage.create(Component, {
240 240
241 setStyleTweenProperty:{ 241 setStyleTweenProperty:{
242 value:function (eventDetail) { 242 value:function (eventDetail) {
243 console.log("Setting style tween properties for: " + this.parentComponent.parentComponent.trackEditorProperty); 243 //console.log("Setting style tween properties for: " + this.parentComponent.parentComponent.trackEditorProperty);
244 console.log(eventDetail); 244 //console.log(eventDetail);
245 245
246 if(eventDetail.type == "setProperties"){ 246 if(eventDetail.type == "setProperties"){
247 // ignore top, left, width, and height 247 // ignore top, left, width, and height
248 console.log(eventDetail.data.value[0]); 248 console.log(eventDetail.data.value[0]);
249 this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty] = eventDetail.data.value[0]; 249 this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty] = eventDetail.data.value[0];
250 console.log(this.tweenedProperties); 250 console.log(this.tweenedProperties);
251
252 } else if(eventDetail.type == "setColor"){ 251 } else if(eventDetail.type == "setColor"){
253 console.log(eventDetail.data.value.color.css);
254 var prop = this.parentComponent.parentComponent.trackEditorProperty; 252 var prop = this.parentComponent.parentComponent.trackEditorProperty;
255 this.tweenedProperties[prop] = eventDetail.data.value.color.css; 253 this.tweenedProperties[prop] = eventDetail.data.value.color.css;
256 console.log(this.tweenedProperties[prop]);
257 this.parentComponent.parentComponent.updatePropKeyframeRule(); 254 this.parentComponent.parentComponent.updatePropKeyframeRule();
258
259 } else if(eventDetail.type == "setProperty"){ 255 } else if(eventDetail.type == "setProperty"){
260 // ignore top, left, width, and height 256 // ignore top, left, width, and height
261 console.log(eventDetail.data.value[0]); 257 console.log(eventDetail.data.value[0]);