aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index 679b88f3..5a393039 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -480,7 +480,7 @@ var Layer = exports.Layer = Montage.create(Component, {
480 480
481 // Initialize myself 481 // Initialize myself
482 this.init(); 482 this.init();
483 483 var that = this;
484 // Make it editable! 484 // Make it editable!
485 this._layerEditable = Hintable.create(); 485 this._layerEditable = Hintable.create();
486 this._layerEditable.element = this.titleSelector; 486 this._layerEditable.element = this.titleSelector;
@@ -491,7 +491,7 @@ var Layer = exports.Layer = Montage.create(Component, {
491 }, false); 491 }, false);
492 this._layerEditable.addEventListener("change", function(event) { 492 this._layerEditable.addEventListener("change", function(event) {
493 that.dynamicLayerName.value = that._layerEditable.value; 493 that.dynamicLayerName.value = that._layerEditable.value;
494 this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = that.dynamicLayerName.value 494 this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = that.dynamicLayerName.value;
495 that.needsDraw = true; 495 that.needsDraw = true;
496 }, false); 496 }, false);
497 this._layerEditable.editingClass = "editable2"; 497 this._layerEditable.editingClass = "editable2";