diff options
author | Jonathan Duran | 2012-02-28 13:21:14 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-28 13:21:14 -0800 |
commit | 154f42e51464a51a83952d4293ef730cd1180e35 (patch) | |
tree | 877bde68db60fb124e71b73e789f1a7252c7c701 /js/panels | |
parent | 24f1817af33c18ac6f6e07cc0dc6a8e8c65f0949 (diff) | |
download | ninja-154f42e51464a51a83952d4293ef730cd1180e35.tar.gz |
Fix element selection on open doc
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index c4206b18..85ce6a20 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -927,10 +927,12 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
927 | this.trackRepetition.selectedIndexes = [layerIndex]; | 927 | this.trackRepetition.selectedIndexes = [layerIndex]; |
928 | this.currentLayerSelected = this.arrLayers[layerIndex]; | 928 | this.currentLayerSelected = this.arrLayers[layerIndex]; |
929 | this.currentTrackSelected = this.arrTracks[layerIndex]; | 929 | this.currentTrackSelected = this.arrTracks[layerIndex]; |
930 | if(this._captureSelection){ | 930 | if(!this._openDoc){ |
931 | this.application.ninja.selectionController.selectElements(this.currentLayerSelected.elementsList) | 931 | if(this._captureSelection){ |
932 | this.application.ninja.selectionController.selectElements(this.currentLayerSelected.elementsList) | ||
933 | } | ||
934 | this._captureSelection = true; | ||
932 | } | 935 | } |
933 | this._captureSelection = true; | ||
934 | } else { | 936 | } else { |
935 | this.layerRepetition.selectedIndexes = null; | 937 | this.layerRepetition.selectedIndexes = null; |
936 | this.trackRepetition.selectedIndexes = null; | 938 | this.trackRepetition.selectedIndexes = null; |