aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index a82d3373..c454130c 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -777,6 +777,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
777 // Delete the selected layer. 777 // Delete the selected layer.
778 var myIndex = this.layerRepetition.selectedIndexes[0]; 778 var myIndex = this.layerRepetition.selectedIndexes[0];
779 this.arrLayers.splice(myIndex, 1); 779 this.arrLayers.splice(myIndex, 1);
780 var selectIndex = this.arrLayers.length;
781 this.selectLayer(selectIndex-1);
780 } 782 }
781 } 783 }
782 }, 784 },