aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index 4a737490..48b2dfdf 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -524,14 +524,6 @@ var Layer = exports.Layer = Montage.create(Component, {
524 value: function() { 524 value: function() {
525 // console.log("Layer.didDraw: Layer "+ this.layerID ); 525 // console.log("Layer.didDraw: Layer "+ this.layerID );
526 if (this._isFirstDraw === true) { 526 if (this._isFirstDraw === true) {
527 if (this.isSelected === true) {
528 if (this.application.ninja.currentDocument._uuid === this._docUUID) {
529 // Once we're done drawing the first time we need to tell the TimelinePanel if
530 // this layer is supposed to be selected.
531 //console.log('layerName ' + this.layerName);
532 this.parentComponent.parentComponent.selectedLayerID = this.layerID;
533 }
534 }
535 this._isFirstDraw = false; 527 this._isFirstDraw = false;
536 this.layerData._isFirstDraw = false; 528 this.layerData._isFirstDraw = false;
537 529
@@ -539,7 +531,6 @@ var Layer = exports.Layer = Montage.create(Component, {
539 this.mainCollapser.myContent.style.height = "auto"; 531 this.mainCollapser.myContent.style.height = "auto";
540 this.mainCollapser.myContent.classList.remove(this.mainCollapser.collapsedClass); 532 this.mainCollapser.myContent.classList.remove(this.mainCollapser.collapsedClass);
541 this.mainCollapser.clicker.classList.remove(this.mainCollapser.collapsedClass); 533 this.mainCollapser.clicker.classList.remove(this.mainCollapser.collapsedClass);
542
543 } 534 }
544 if (this.isPositionCollapsed === false) { 535 if (this.isPositionCollapsed === false) {
545 this.positionCollapser.myContent.style.height = "auto"; 536 this.positionCollapser.myContent.style.height = "auto";
@@ -553,9 +544,6 @@ var Layer = exports.Layer = Montage.create(Component, {
553 } 544 }
554 545
555 } 546 }
556
557
558
559 } 547 }
560 }, 548 },
561 /* End: Draw cycle */ 549 /* End: Draw cycle */