aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index bf380e00..3cf754b8 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -1051,6 +1051,11 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
1051 createPositionTracks:{ 1051 createPositionTracks:{
1052 value:function(){ 1052 value:function(){
1053 // create track objects for position and transform tracks and push into arrays 1053 // create track objects for position and transform tracks and push into arrays
1054
1055 // ... but only do it if we haven't already.
1056 if (this.arrPositionTracks.length > 0) {
1057 return;
1058 }
1054 1059
1055 // create 'left' track 1060 // create 'left' track
1056 var newLeftTrack = {}; 1061 var newLeftTrack = {};