aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 912dce83..69e6527f 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -277,8 +277,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
277 // Remove every event listener for every tween in TimelineTrack 277 // Remove every event listener for every tween in TimelineTrack
278 for (var i = 0; i < this.arrTracks.length; i++) { 278 for (var i = 0; i < this.arrTracks.length; i++) {
279 for (var j = 0; j < this.arrTracks[i].tweens.length; j++) { 279 for (var j = 0; j < this.arrTracks[i].tweens.length; j++) {
280 //this.eventManager.removeEventListener("elementChange", this, false); 280 this.arrTracks[i].tweens[j].isClearing = "clear it";
281 this.arrTracks[i].tweens[j].eventManager.removeEventListener("elementChange", this.arrTracks[i].tweens[j], false);
282 } 281 }
283 } 282 }
284 283
@@ -539,8 +538,6 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
539 538
540 if(this._openDoc){ 539 if(this._openDoc){
541 event.detail.ele.uuid =nj.generateRandom(); 540 event.detail.ele.uuid =nj.generateRandom();
542 console.log("in open doc")
543 console.log(event.detail.ele)
544 thingToPush.elementsList.push(event.detail.ele); 541 thingToPush.elementsList.push(event.detail.ele);
545 } 542 }
546 543
@@ -696,7 +693,6 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
696 693
697 handleElementAdded:{ 694 handleElementAdded:{
698 value:function (event) { 695 value:function (event) {
699 console.log('called')
700 event.detail.uuid=nj.generateRandom(); 696 event.detail.uuid=nj.generateRandom();
701 this.hashElementMapToLayer.setItem(event.detail.uuid, event.detail,this.currentLayerSelected); 697 this.hashElementMapToLayer.setItem(event.detail.uuid, event.detail,this.currentLayerSelected);
702 this.currentLayerSelected.elementsList.push(event.detail); 698 this.currentLayerSelected.elementsList.push(event.detail);