aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJonathan Duran2012-02-23 14:11:53 -0800
committerJonathan Duran2012-02-23 14:11:53 -0800
commit0327073eff62d4b800206ba0f3ba2140ae5da8bc (patch)
tree7cf8866e952826506214c61d34021d373d999b77 /js
parent19ac6739162c6ad007429ec34204f0589b4e11cc (diff)
downloadninja-0327073eff62d4b800206ba0f3ba2140ae5da8bc.tar.gz
add back layer selection
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 2ca32de9..3171cf3c 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -494,7 +494,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
494 this.arrTracks.splice(myIndex, 0, newTrack); 494 this.arrTracks.splice(myIndex, 0, newTrack);
495 this.arrLayers.splice(myIndex, 0, thingToPush); 495 this.arrLayers.splice(myIndex, 0, thingToPush);
496 this._LayerUndoPosition = myIndex; 496 this._LayerUndoPosition = myIndex;
497// this.selectLayer(myIndex); 497 this.selectLayer(myIndex);
498 this.hashLayerNumber.setItem(this._hashKey, thingToPush); 498 this.hashLayerNumber.setItem(this._hashKey, thingToPush);
499 this.hashInstance.setItem(this._hashKey, thingToPush, myIndex); 499 this.hashInstance.setItem(this._hashKey, thingToPush, myIndex);
500 this.hashTrackInstance.setItem(this._hashKey, newTrack, myIndex); 500 this.hashTrackInstance.setItem(this._hashKey, newTrack, myIndex);
@@ -507,7 +507,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
507 this.hashLayerNumber.setItem(this._hashKey, thingToPush); 507 this.hashLayerNumber.setItem(this._hashKey, thingToPush);
508 this.hashInstance.setItem(this._hashKey, thingToPush, thingToPush.layerPosition); 508 this.hashInstance.setItem(this._hashKey, thingToPush, thingToPush.layerPosition);
509 this.hashTrackInstance.setItem(this._hashKey, newTrack, newTrack.trackPosition); 509 this.hashTrackInstance.setItem(this._hashKey, newTrack, newTrack.trackPosition);
510// this.selectLayer(0); 510 this.selectLayer(0);
511 511
512 } 512 }
513 this._LayerUndoObject = thingToPush; 513 this._LayerUndoObject = thingToPush;