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.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/js/panels/Timeline/Style.reel/Style.js b/js/panels/Timeline/Style.reel/Style.js
index 930e1281..1d72199a 100644
--- a/js/panels/Timeline/Style.reel/Style.js
+++ b/js/panels/Timeline/Style.reel/Style.js
@@ -438,12 +438,12 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
438 _showView : { 438 _showView : {
439 value: function() { 439 value: function() {
440 if (this.whichView === "hintable") { 440 if (this.whichView === "hintable") {
441 this.containerHintable.classList.remove("hidden"); 441 this.containerHintable.classList.remove("hideme");
442 this.containerPropvals.classList.add("hidden"); 442 this.containerPropvals.classList.add("hideme");
443 this.myHintable.start(); 443 this.myHintable.start();
444 } else { 444 } else {
445 this.containerHintable.classList.add("hidden"); 445 this.containerHintable.classList.add("hideme");
446 this.containerPropvals.classList.remove("hidden"); 446 this.containerPropvals.classList.remove("hideme");
447 this._showTweener(); 447 this._showTweener();
448 } 448 }
449 } 449 }
@@ -466,9 +466,9 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
466 } 466 }
467 467
468 if (tweenable.tweener === "hottext" ) { 468 if (tweenable.tweener === "hottext" ) {
469 this.editorInputContainer.classList.add("hidden"); 469 this.editorInputContainer.classList.add("hideme");
470 this.editorColorContainer.classList.add("hidden"); 470 this.editorColorContainer.classList.add("hideme");
471 this.editorHottextContainer.classList.remove("hidden"); 471 this.editorHottextContainer.classList.remove("hideme");
472 this.valueEditorHottext.acceptableUnits = [tweenable.units]; 472 this.valueEditorHottext.acceptableUnits = [tweenable.units];
473 this.valueEditorHottext.units = tweenable.units; 473 this.valueEditorHottext.units = tweenable.units;
474 this.valueEditorHottext.minValue = tweenable.min; 474 this.valueEditorHottext.minValue = tweenable.min;
@@ -481,9 +481,9 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
481 this.valueEditorHottext.addEventListener("changing",this,false); 481 this.valueEditorHottext.addEventListener("changing",this,false);
482 this.valueEditorHottext.needsDraw = true; 482 this.valueEditorHottext.needsDraw = true;
483 } else if (tweenable.tweener === "color" ) { 483 } else if (tweenable.tweener === "color" ) {
484 this.editorInputContainer.classList.add("hidden"); 484 this.editorInputContainer.classList.add("hideme");
485 this.editorColorContainer.classList.remove("hidden"); 485 this.editorColorContainer.classList.remove("hideme");
486 this.editorHottextContainer.classList.add("hidden"); 486 this.editorHottextContainer.classList.add("hideme");
487 487
488 if(tweenable.colorType === "fill"){ 488 if(tweenable.colorType === "fill"){
489 this._isFill = true; 489 this._isFill = true;
@@ -508,9 +508,9 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, {
508 } 508 }
509 // TODO: set up color chip here. 509 // TODO: set up color chip here.
510 } else if (tweenable.tweener === "input"){ 510 } else if (tweenable.tweener === "input"){
511 this.editorInputContainer.classList.remove("hidden"); 511 this.editorInputContainer.classList.remove("hideme");
512 this.editorColorContainer.classList.add("hidden"); 512 this.editorColorContainer.classList.add("hideme");
513 this.editorHottextContainer.classList.add("hidden"); 513 this.editorHottextContainer.classList.add("hideme");
514 this.valueEditorInput.value = this.editorValue; 514 this.valueEditorInput.value = this.editorValue;
515 this.valueEditorInput.addEventListener("blur",this,false); 515 this.valueEditorInput.addEventListener("blur",this,false);
516 } else { 516 } else {