diff options
author | hwc487 | 2012-07-09 16:08:02 -0700 |
---|---|---|
committer | hwc487 | 2012-07-09 16:08:02 -0700 |
commit | 5085d0f67df89a21715308956004164597a6ba79 (patch) | |
tree | 2c896163143a66331205a39b0a3b1b45d51bf12a /js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |
parent | 51f1691f792dbda9b740ded8aa0457c9406db156 (diff) | |
parent | 84b3327bd92faafab7954b5eb64c7abe24a3fe13 (diff) | |
download | ninja-5085d0f67df89a21715308956004164597a6ba79.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Conflicts:
js/helper-classes/3D/StageLine.js
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 692 |
1 files changed, 346 insertions, 346 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 11d275ce..f9c710c6 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -45,10 +45,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
45 | return this._trackID; | 45 | return this._trackID; |
46 | }, | 46 | }, |
47 | set:function (value) { | 47 | set:function (value) { |
48 | if (value !== this._trackID) { | 48 | if (value !== this._trackID) { |
49 | this._trackID = value; | 49 | this._trackID = value; |
50 | this.trackData.layerID = value; | 50 | this.trackData.layerID = value; |
51 | } | 51 | } |
52 | } | 52 | } |
53 | }, | 53 | }, |
54 | 54 | ||
@@ -69,9 +69,9 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
69 | positionPropertyTrack:{ | 69 | positionPropertyTrack:{ |
70 | value:null | 70 | value:null |
71 | }, | 71 | }, |
72 | 72 | ||
73 | _isFirstDraw: { | 73 | _isFirstDraw: { |
74 | value: true | 74 | value: true |
75 | }, | 75 | }, |
76 | 76 | ||
77 | _isVisible:{ | 77 | _isVisible:{ |
@@ -83,31 +83,31 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
83 | return this._isVisible; | 83 | return this._isVisible; |
84 | }, | 84 | }, |
85 | set:function(value){ | 85 | set:function(value){ |
86 | if (this._isVisible !== value) { | 86 | if (this._isVisible !== value) { |
87 | this._isVisible = value; | 87 | this._isVisible = value; |
88 | if (this.element !== null) { | 88 | if (this.element !== null) { |
89 | if (value === true) { | 89 | if (value === true) { |
90 | this.element.classList.remove("layer-hidden"); | 90 | this.element.classList.remove("layer-hidden"); |
91 | } else { | 91 | } else { |
92 | this.element.classList.add("layer-hidden"); | 92 | this.element.classList.add("layer-hidden"); |
93 | } | 93 | } |
94 | } | 94 | } |
95 | } | 95 | } |
96 | this.trackData.isVisible = value; | 96 | this.trackData.isVisible = value; |
97 | } | 97 | } |
98 | }, | 98 | }, |
99 | 99 | ||
100 | _stageElement: { | 100 | _stageElement: { |
101 | value: null | 101 | value: null |
102 | }, | 102 | }, |
103 | stageElement: { | 103 | stageElement: { |
104 | get: function() { | 104 | get: function() { |
105 | return this._stageElement; | 105 | return this._stageElement; |
106 | }, | 106 | }, |
107 | set: function(newVal) { | 107 | set: function(newVal) { |
108 | this._stageElement = newVal; | 108 | this._stageElement = newVal; |
109 | this.trackData.stageElement = newVal; | 109 | this.trackData.stageElement = newVal; |
110 | } | 110 | } |
111 | }, | 111 | }, |
112 | 112 | ||
113 | // Are the various collapsers collapsed or not | 113 | // Are the various collapsers collapsed or not |
@@ -160,88 +160,88 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
160 | } | 160 | } |
161 | }, | 161 | }, |
162 | _bypassAnimation : { | 162 | _bypassAnimation : { |
163 | value: false | 163 | value: false |
164 | }, | 164 | }, |
165 | bypassAnimation : { | 165 | bypassAnimation : { |
166 | serializable: true, | 166 | serializable: true, |
167 | get: function() { | 167 | get: function() { |
168 | return this._bypassAnimation; | 168 | return this._bypassAnimation; |
169 | }, | 169 | }, |
170 | set: function(newVal) { | 170 | set: function(newVal) { |
171 | if (typeof(this.trackData) !== "undefined") { | 171 | if (typeof(this.trackData) !== "undefined") { |
172 | this._bypassAnimation = newVal; | 172 | this._bypassAnimation = newVal; |
173 | this.trackData.bypassAnimation = newVal; | 173 | this.trackData.bypassAnimation = newVal; |
174 | } | 174 | } |
175 | } | 175 | } |
176 | }, | 176 | }, |
177 | 177 | ||
178 | _arrStyleTracks : { | 178 | _arrStyleTracks : { |
179 | value: [] | 179 | value: [] |
180 | }, | 180 | }, |
181 | arrStyleTracks: { | 181 | arrStyleTracks: { |
182 | serializable:true, | 182 | serializable:true, |
183 | get: function() { | 183 | get: function() { |
184 | return this._arrStyleTracks; | 184 | return this._arrStyleTracks; |
185 | }, | 185 | }, |
186 | set: function(newVal) { | 186 | set: function(newVal) { |
187 | this._arrStyleTracks = newVal; | 187 | this._arrStyleTracks = newVal; |
188 | this.trackData.arrStyleTracks = newVal; | 188 | this.trackData.arrStyleTracks = newVal; |
189 | } | 189 | } |
190 | }, | 190 | }, |
191 | _styleTracksRepetition: { | 191 | _styleTracksRepetition: { |
192 | value: null | 192 | value: null |
193 | }, | 193 | }, |
194 | styleTracksRepetition : { | 194 | styleTracksRepetition : { |
195 | serializable:true, | 195 | serializable:true, |
196 | get: function() { | 196 | get: function() { |
197 | return this._styleTracksRepetition; | 197 | return this._styleTracksRepetition; |
198 | }, | 198 | }, |
199 | set: function(newVal) { | 199 | set: function(newVal) { |
200 | this._styleTracksRepetition = newVal; | 200 | this._styleTracksRepetition = newVal; |
201 | } | 201 | } |
202 | }, | 202 | }, |
203 | 203 | ||
204 | /* Position Property Tracks */ | 204 | /* Position Property Tracks */ |
205 | _arrPositionTracks : { | 205 | _arrPositionTracks : { |
206 | value: [] | 206 | value: [] |
207 | }, | 207 | }, |
208 | arrPositionTracks: { | 208 | arrPositionTracks: { |
209 | serializable:true, | 209 | serializable:true, |
210 | get: function() { | 210 | get: function() { |
211 | return this._arrPositionTracks; | 211 | return this._arrPositionTracks; |
212 | }, | 212 | }, |
213 | set: function(newVal) { | 213 | set: function(newVal) { |
214 | this._arrPositionTracks = newVal; | 214 | this._arrPositionTracks = newVal; |
215 | this.trackData.arrPositionTracks = newVal; | 215 | this.trackData.arrPositionTracks = newVal; |
216 | 216 | ||
217 | } | 217 | } |
218 | }, | 218 | }, |
219 | _positionTracksRepetition: { | 219 | _positionTracksRepetition: { |
220 | value: null | 220 | value: null |
221 | }, | 221 | }, |
222 | positionTracksRepetition : { | 222 | positionTracksRepetition : { |
223 | get: function() { | 223 | get: function() { |
224 | return this._positionTracksRepetition; | 224 | return this._positionTracksRepetition; |
225 | }, | 225 | }, |
226 | set: function(newVal) { | 226 | set: function(newVal) { |
227 | this._positionTracksRepetition = newVal; | 227 | this._positionTracksRepetition = newVal; |
228 | } | 228 | } |
229 | }, | 229 | }, |
230 | 230 | ||
231 | 231 | ||
232 | /* Transform Property Tracks */ | 232 | /* Transform Property Tracks */ |
233 | _arrTransformTracks : { | 233 | _arrTransformTracks : { |
234 | value: [] | 234 | value: [] |
235 | }, | 235 | }, |
236 | arrTransformTracks: { | 236 | arrTransformTracks: { |
237 | serializable:true, | 237 | serializable:true, |
238 | get: function() { | 238 | get: function() { |
239 | return this._arrTransformTracks; | 239 | return this._arrTransformTracks; |
240 | }, | 240 | }, |
241 | set: function(newVal) { | 241 | set: function(newVal) { |
242 | this._a |