diff options
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 4 |
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; |