diff options
Diffstat (limited to 'js')
-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 2db0c18a..a0e2376a 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -314,8 +314,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
314 | this.arrTracks.splice(myIndex, 0, newTrack); | 314 | this.arrTracks.splice(myIndex, 0, newTrack); |
315 | this.layerRepetition.selectedIndexes = [myIndex]; | 315 | this.layerRepetition.selectedIndexes = [myIndex]; |
316 | } else { | 316 | } else { |
317 | this.arrLayers.push(thingToPush); | 317 | this.arrLayers.splice(0, 0, thingToPush); |
318 | this.arrTracks.push(newTrack); | 318 | this.arrTracks.splice(0, 0, newTrack); |
319 | thingToPush.layerPosition=this.arrLayers.length-1; | 319 | thingToPush.layerPosition=this.arrLayers.length-1; |
320 | newTrack.trackPosition=this.arrTracks.length-1; | 320 | newTrack.trackPosition=this.arrTracks.length-1; |
321 | this.hashInstance.setItem(this._hashKey,thingToPush,thingToPush.layerPosition); | 321 | this.hashInstance.setItem(this._hashKey,thingToPush,thingToPush.layerPosition); |