aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Duran2012-04-04 11:32:35 -0700
committerJonathan Duran2012-04-04 11:32:35 -0700
commit135c5257e2a4d5f1b25f62758c6783fd2ebe5e19 (patch)
tree58670a676d4fc43741e636cf32d328838af7e21c
parent021f3d7703911811344125f048235789cbd65556 (diff)
downloadninja-135c5257e2a4d5f1b25f62758c6783fd2ebe5e19.tar.gz
Should not select any layer on element delete
Signed-off-by: Jonathan Duran <jduran@motorola.com>
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js2
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 },