diff options
author | Jon Reid | 2012-02-07 23:07:21 -0800 |
---|---|---|
committer | Jon Reid | 2012-02-07 23:07:21 -0800 |
commit | 6ce7a6c94b2ea24a3a3a2aba7230864e924e952b (patch) | |
tree | 48aa9ae0a68ace1ad058437aefd8dc50b7e2987d | |
parent | e34a3ec35118690a8addbe1c75e76a747fd75259 (diff) | |
download | ninja-6ce7a6c94b2ea24a3a3a2aba7230864e924e952b.tar.gz |
Timeline: Comment updates.
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index f942f36e..52b63376 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -725,6 +725,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
725 | // use layerIndex = "none" to deselect all layers. | 725 | // use layerIndex = "none" to deselect all layers. |
726 | var i = 0, | 726 | var i = 0, |
727 | arrLayersLength = this.arrLayers.length; | 727 | arrLayersLength = this.arrLayers.length; |
728 | |||
729 | // First, update this.arrLayers[].isSelected | ||
728 | for (i = 0; i < arrLayersLength; i++) { | 730 | for (i = 0; i < arrLayersLength; i++) { |
729 | if (i === layerIndex) { | 731 | if (i === layerIndex) { |
730 | this.arrLayers[i].isSelected = true; | 732 | this.arrLayers[i].isSelected = true; |
@@ -733,6 +735,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
733 | } | 735 | } |
734 | } | 736 | } |
735 | 737 | ||
738 | // Next, update this.layerRepetition.selectedIndexes and this.currentLayerSelected. | ||
736 | if (layerIndex !== "none") { | 739 | if (layerIndex !== "none") { |
737 | this.layerRepetition.selectedIndexes = [layerIndex]; | 740 | this.layerRepetition.selectedIndexes = [layerIndex]; |
738 | this.currentLayerSelected = this.arrLayers[layerIndex] | 741 | this.currentLayerSelected = this.arrLayers[layerIndex] |