diff options
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index d4f92b39..647d2f4e 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -825,8 +825,6 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
825 | // Delete the selected layer. | 825 | // Delete the selected layer. |
826 | var myIndex = this.layerRepetition.selectedIndexes[0]; | 826 | var myIndex = this.layerRepetition.selectedIndexes[0]; |
827 | this.arrLayers.splice(myIndex, 1); | 827 | this.arrLayers.splice(myIndex, 1); |
828 | var selectIndex = this.arrLayers.length; | ||
829 | this.selectLayer(selectIndex-1); | ||
830 | } | 828 | } |
831 | } | 829 | } |
832 | }, | 830 | }, |