diff options
author | Jonathan Duran | 2012-05-15 10:02:26 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-05-15 10:02:26 -0700 |
commit | b7adc6f1ec09edcad523b1ddd32856ddf27c6724 (patch) | |
tree | a56aa92c26a29953820180af746389ea4dff1955 /js/panels/Timeline/PropertyTrack.reel | |
parent | 7cf24d4adf741deae04728f9c091e11c2876a8df (diff) | |
download | ninja-b7adc6f1ec09edcad523b1ddd32856ddf27c6724.tar.gz |
remove console logs. add retrieve tweens method for prop tracks
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/PropertyTrack.reel')
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js index 31e0b3b6..b3a31bf2 100644 --- a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js +++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | |||
@@ -28,6 +28,21 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, { | |||
28 | } | 28 | } |
29 | }, | 29 | }, |
30 | 30 | ||
31 | didDraw:{ | ||
32 | value:function () { | ||
33 | if ((!this.application.ninja.documentController.creatingNewFile) || (!this.application.ninja.currentDocument.setLevel)) { | ||
34 | if (this.application.ninja.currentDocument.documentRoot.children[0]) { | ||
35 | var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); | ||
36 | if (selectedIndex !== false) { | ||
37 | if (!this.application.ninja.timeline.arrLayers[selectedIndex].layerData.created) { | ||
38 | //this.retrieveStoredStyleTweens(); | ||
39 | } | ||
40 | } | ||
41 | } | ||
42 | } | ||
43 | } | ||
44 | }, | ||
45 | |||
31 | trackEditorProperty:{ | 46 | trackEditorProperty:{ |
32 | value:"" | 47 | value:"" |
33 | }, | 48 | }, |
@@ -248,7 +263,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, { | |||
248 | 263 | ||
249 | retrieveStoredStyleTweens:{ | 264 | retrieveStoredStyleTweens:{ |
250 | value:function(){ | 265 | value:function(){ |
251 | 266 | console.log("retrieve style tweens"); | |
252 | } | 267 | } |
253 | }, | 268 | }, |
254 | 269 | ||