diff options
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 8dc19958..457a85c0 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -431,6 +431,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
431 | this.isStyleCollapsed = this.trackData.isStyleCollapsed; | 431 | this.isStyleCollapsed = this.trackData.isStyleCollapsed; |
432 | this.trackPosition = this.trackData.trackPosition; | 432 | this.trackPosition = this.trackData.trackPosition; |
433 | this.isVisible = this.trackData.isVisible; | 433 | this.isVisible = this.trackData.isVisible; |
434 | this.trackEditorProperty = "master"; | ||
434 | this.needsDraw = true; | 435 | this.needsDraw = true; |
435 | } | 436 | } |
436 | }, | 437 | }, |
@@ -901,15 +902,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
901 | value:function(){ | 902 | value:function(){ |
902 | // create track objects for position and transform tracks and push into arrays | 903 | // create track objects for position and transform tracks and push into arrays |
903 | 904 | ||
904 | // create 'top' track | ||
905 | var newTopTrack = {}; | ||
906 | newTopTrack.propTrackData = {}; | ||
907 | newTopTrack.propTrackData.propTweens = []; | ||
908 | newTopTrack.propTrackData.styleIndex = 0; | ||
909 | newTopTrack.propTrackData.trackType = "position"; | ||
910 | newTopTrack.propTrackData.trackEditorProperty = "top"; | ||
911 | this.arrPositionTracks.push(newTopTrack); | ||
912 | |||
913 | // create 'left' track | 905 | // create 'left' track |
914 | var newLeftTrack = {}; | 906 | var newLeftTrack = {}; |
915 | newLeftTrack.propTrackData = {}; | 907 | newLeftTrack.propTrackData = {}; |
@@ -919,6 +911,15 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
919 | newLeftTrack.propTrackData.trackEditorProperty = "left"; | 911 | newLeftTrack.propTrackData.trackEditorProperty = "left"; |
920 | this.arrPositionTracks.push(newLeftTrack); | 912 | this.arrPositionTracks.push(newLeftTrack); |
921 | 913 | ||
914 | // create 'top' track | ||
915 | var newTopTrack = {}; | ||
916 | newTopTrack.propTrackData = {}; | ||
917 | newTopTrack.propTrackData.propTweens = []; | ||
918 | newTopTrack.propTrackData.styleIndex = 0; | ||
919 | newTopTrack.propTrackData.trackType = "position"; | ||
920 | newTopTrack.propTrackData.trackEditorProperty = "top"; | ||
921 | this.arrPositionTracks.push(newTopTrack); | ||
922 | |||
922 | // create 'width' track | 923 | // create 'width' track |
923 | var newWidthTrack = {}; | 924 | var newWidthTrack = {}; |
924 | newWidthTrack.propTrackData = {}; | 925 | newWidthTrack.propTrackData = {}; |