diff options
author | Jonathan Duran | 2012-02-25 16:20:16 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-25 16:20:16 -0800 |
commit | 4e15de39bc1ea1a4c1141373d08b858b20106987 (patch) | |
tree | ef3030d561a0bef731f84078d5ece503cd60f37e /js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |
parent | 1bc2de516c86f67c2107bd50df0589a273f4c5ab (diff) | |
parent | f14bc1ace048e46cbcb7148dbe37a5d2065a3779 (diff) | |
download | ninja-4e15de39bc1ea1a4c1141373d08b858b20106987.tar.gz |
Merge branch 'refs/heads/Timeline-local' into Timeline
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 5f484cdb..2143dafd 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -242,6 +242,24 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
242 | _firstLayerDraw = true; | 242 | _firstLayerDraw = true; |
243 | } | 243 | } |
244 | }, | 244 | }, |
245 | |||
246 | clearTimelinePanel : { | ||
247 | value: function() { | ||
248 | console.log('clearing timeline...') | ||
249 | this.arrTracks = null; | ||
250 | this.arrLayers = null; | ||
251 | this.currentLayerNumber = 0; | ||
252 | this.currentLayerSelected = null; | ||
253 | this.currentTrackSelected = null; | ||
254 | this.selectedKeyframes = []; | ||
255 | this.selectedTweens = []; | ||
256 | this._captureSelection = false; | ||
257 | this._openDoc = false; | ||
258 | this.end_hottext.value = 25; | ||
259 | this.updateTrackContainerWidth(); | ||
260 | this.needsDraw = true; | ||
261 | } | ||
262 | }, | ||
245 | 263 | ||
246 | updateTrackContainerWidth:{ | 264 | updateTrackContainerWidth:{ |
247 | value: function(){ | 265 | value: function(){ |