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.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/js/panels/Timeline/Style.reel/Style.js b/js/panels/Timeline/Style.reel/Style.js
index c39f3a56..91abaa71 100644
--- a/js/panels/Timeline/Style.reel/Style.js
+++ b/js/panels/Timeline/Style.reel/Style.js
@@ -221,7 +221,6 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
221 value: function(event) { 221 value: function(event) {
222 // this should be handled via binding, but somehow is not. Setting manually for now. 222 // this should be handled via binding, but somehow is not. Setting manually for now.
223 this.editorProperty = this.myHintable.value; 223 this.editorProperty = this.myHintable.value;
224
225 // Change views. 224 // Change views.
226 this.whichView = "propval"; 225 this.whichView = "propval";
227 } 226 }
@@ -303,6 +302,9 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
303 this.valueEditorHottext.units = tweenable.units; 302 this.valueEditorHottext.units = tweenable.units;
304 this.valueEditorHottext.minValue = tweenable.min; 303 this.valueEditorHottext.minValue = tweenable.min;
305 this.valueEditorHottext.maxValue = tweenable.max; 304 this.valueEditorHottext.maxValue = tweenable.max;
305 this.valueEditorHottext.identifier="hottext"
306 this.valueEditorHottext.addEventListener("change",this,false);
307 this.valueEditorHottext.addEventListener("changing",this,false);
306 this.valueEditorHottext.needsDraw = true; 308 this.valueEditorHottext.needsDraw = true;
307 } else if (tweenable.tweener === "color" ) { 309 } else if (tweenable.tweener === "color" ) {
308 this.editorInputContainer.classList.add("hidden"); 310 this.editorInputContainer.classList.add("hidden");
@@ -613,6 +615,21 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
613 ] 615 ]
614 616
615 }, 617 },
618
619 handleHottextChange:{
620 value:function(){
621 debugger;
622 this.application.ninja.elementMediator.setProperty(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, this.editorProperty, [this.editorValue + "%"] , "Change", "timeline");
623 }
624 },
625
626 handleHottextChanging:{
627 value:function(){
628
629 debugger;
630 this.application.ninja.elementMediator.setProperty(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.elementsList, this.editorProperty, [this.editorValue + "%"] , "Changing", "timeline");
631 }
632 },
616 633
617 /* Begin: Logging routines */ 634 /* Begin: Logging routines */
618 _boolDebug: { 635 _boolDebug: {