aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 55c7162d..39d1ffc6 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -837,7 +837,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
837 var myIndex = this.layerRepetition.selectedIndexes[0]; 837 var myIndex = this.layerRepetition.selectedIndexes[0];
838 this.arrLayers.splice(myIndex, 1); 838 this.arrLayers.splice(myIndex, 1);
839 var selectIndex = this.arrLayers.length; 839 var selectIndex = this.arrLayers.length;
840 this.searchHighestTrackDuration(); 840 this.resetMasterDuration();
841 if(selectIndex>0){ 841 if(selectIndex>0){
842 this.selectLayer(selectIndex-1); 842 this.selectLayer(selectIndex-1);
843 } 843 }
@@ -847,8 +847,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
847 } 847 }
848 }, 848 },
849 849
850 searchHighestTrackDuration:{ 850 resetMasterDuration:{
851 value:function () { 851 value:function(){
852 852
853 var trackDuration; 853 var trackDuration;
854 var length = this.arrLayers.length; 854 var length = this.arrLayers.length;