aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 67eae45c..03d06d98 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -389,7 +389,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
389 value:function () { 389 value:function () {
390 this.layout_tracks = this.element.querySelector(".layout-tracks"); 390 this.layout_tracks = this.element.querySelector(".layout-tracks");
391 this.layout_markers = this.element.querySelector(".layout_markers"); 391 this.layout_markers = this.element.querySelector(".layout_markers");
392 this.timeline_leftpane.addEventListener("click", this.timelineLeftPaneClick.bind(this), false); 392 this.timeline_leftpane.addEventListener("mousedown", this.timelineLeftPaneMousedown.bind(this), false);
393 this.layout_tracks.addEventListener("scroll", this.updateLayerScroll.bind(this), false); 393 this.layout_tracks.addEventListener("scroll", this.updateLayerScroll.bind(this), false);
394 this.user_layers.addEventListener("scroll", this.updateLayerScroll.bind(this), false); 394 this.user_layers.addEventListener("scroll", this.updateLayerScroll.bind(this), false);
395 this.end_hottext.addEventListener("changing", this.updateTrackContainerWidth.bind(this), false); 395 this.end_hottext.addEventListener("changing", this.updateTrackContainerWidth.bind(this), false);
@@ -495,6 +495,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
495 // Clear the repetitions 495 // Clear the repetitions
496 if (this.arrLayers.length > 0) { 496 if (this.arrLayers.length > 0) {
497 this.arrLayers = []; 497 this.arrLayers = [];
498 this.arrLayers.length = 0;
498 } 499 }
499 } 500 }
500 }, 501 },
@@ -616,7 +617,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
616 } 617 }
617 }, 618 },
618 619
619 timelineLeftPaneClick:{ 620 timelineLeftPaneMousedown:{
620 value:function (event) { 621 value:function (event) {
621 var ptrParent = nj.queryParentSelector(event.target, ".container-layer"); 622 var ptrParent = nj.queryParentSelector(event.target, ".container-layer");
622 if (ptrParent !== false) { 623 if (ptrParent !== false) {