aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Style.reel/Style.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/Style.reel/Style.js')
-rw-r--r--js/panels/Timeline/Style.reel/Style.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/panels/Timeline/Style.reel/Style.js b/js/panels/Timeline/Style.reel/Style.js
index 102e9f25..9209e8b9 100644
--- a/js/panels/Timeline/Style.reel/Style.js
+++ b/js/panels/Timeline/Style.reel/Style.js
@@ -691,12 +691,12 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
691 691
692 handleFillColorChange: { 692 handleFillColorChange: {
693 value: function (event) { 693 value: function (event) {
694debugger;
695 694
696 var fillColorObject={}; 695 var fillColorObject={};
697 fillColorObject.color=event._event.color; 696 fillColorObject.color=event._event.color;
698 fillColorObject.mode=event._event.colorMode; 697 fillColorObject.mode=event._event.colorMode;
699 ElementsMediator.setColor(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, fillColorObject, this._isFill, "Change", "timeline",null,this._borderSide) 698 console.log(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement);
699 ElementsMediator.setColor([this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement], fillColorObject, this._isFill, "Change", "timeline",null,this._borderSide)
700 } 700 }
701 }, 701 },
702 702
@@ -706,7 +706,7 @@ debugger;
706 if(this.editorValue===""){ 706 if(this.editorValue===""){
707 this.editorValue = 0; 707 this.editorValue = 0;
708 } 708 }
709 this.application.ninja.elementMediator.setProperty(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, this.editorProperty, [this.editorValue + event.target._units] , "Change", "timeline"); 709 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement], this.editorProperty, [this.editorValue + event.target._units] , "Change", "timeline");
710 } 710 }
711 }, 711 },
712 712
@@ -716,13 +716,13 @@ debugger;
716 if(this.editorValue===""){ 716 if(this.editorValue===""){
717 this.editorValue = 0; 717 this.editorValue = 0;
718 } 718 }
719 this.application.ninja.elementMediator.setProperty(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, this.editorProperty, [this.editorValue + event.target._units ] , "Changing", "timeline"); 719 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement], this.editorProperty, [this.editorValue + event.target._units ] , "Changing", "timeline");
720 } 720 }
721 }, 721 },
722 722
723 handleBlur:{ 723 handleBlur:{
724 value:function(event){ 724 value:function(event){
725 this.application.ninja.elementMediator.setProperty(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, this.editorProperty, [event.target.value] , "Change", "timeline"); 725 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement], this.editorProperty, [event.target.value] , "Change", "timeline");
726 } 726 }
727 }, 727 },
728 728