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, 3 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index ab0f9d06..8d8b86c1 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -847,7 +847,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
847 var myIndex = this.layerRepetition.selectedIndexes[0]; 847 var myIndex = this.layerRepetition.selectedIndexes[0];
848 this.arrLayers.splice(myIndex, 1); 848 this.arrLayers.splice(myIndex, 1);
849 var selectIndex = this.arrLayers.length; 849 var selectIndex = this.arrLayers.length;
850 this.searchHighestTrackDuration(); 850 this.resetMasterDuration();
851 if(selectIndex>0){ 851 if(selectIndex>0){
852 this.selectLayer(selectIndex-1); 852 this.selectLayer(selectIndex-1);
853 } 853 }
@@ -857,8 +857,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
857 } 857 }
858 }, 858 },
859 859
860 searchHighestTrackDuration:{ 860 resetMasterDuration:{
861 value:function () { 861 value:function(){
862 862
863 var trackDuration; 863 var trackDuration;
864 var length = this.arrLayers.length; 864 var length = this.arrLayers.length;