aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelineTrack.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-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 68ea928a..dc1a5d99 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -1085,6 +1085,11 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
1085 createPositionTracks:{ 1085 createPositionTracks:{
1086 value:function(){ 1086 value:function(){
1087 // create track objects for position and transform tracks and push into arrays 1087 // create track objects for position and transform tracks and push into arrays
1088
1089 // ... but only do it if we haven't already.
1090 if (this.arrPositionTracks.length > 0) {
1091 return;
1092 }
1088 1093
1089 // create 'left' track 1094 // create 'left' track
1090 var newLeftTrack = {}; 1095 var newLeftTrack = {};