diff options
author | Jon Reid | 2012-07-03 15:47:50 -0700 |
---|---|---|
committer | Jon Reid | 2012-07-03 15:47:50 -0700 |
commit | 8c087f7c13a2bd72e1640e99e339a74fc2250901 (patch) | |
tree | 1e69a65489e240bb7eab3a857c4acd7429f54f79 /js/panels/Timeline/Tween.reel/Tween.js | |
parent | 539f430f95812e726ad14012965ece942a010bca (diff) | |
download | ninja-8c087f7c13a2bd72e1640e99e339a74fc2250901.tar.gz |
Timeline: First pass at cleaning up TimelineTrack code. Changes propagated
to PropertyTrack, TimelineTrack, and Tween classes.
Diffstat (limited to 'js/panels/Timeline/Tween.reel/Tween.js')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 6b940c91..472e64e2 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -316,7 +316,9 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
316 | value: function(){ | 316 | value: function(){ |
317 | this.eventManager.addEventListener("elementChange", this, false); | 317 | this.eventManager.addEventListener("elementChange", this, false); |
318 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); | 318 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); |
319 | this.application.ninja.timeline.selectLayer(selectIndex, true); | 319 | // this.application.ninja.timeline.selectLayer(selectIndex, true); // deprecated |
320 | this.application.ninja.timeline.selectLayers([selectIndex]); | ||
321 | this.application.ninja.timeline.updateStageSelection(); | ||
320 | this.application.ninja.timeline.deselectTweens(); | 322 | this.application.ninja.timeline.deselectTweens(); |
321 | this.application.ninja.timeline.selectedTweens.push(this); | 323 | this.application.ninja.timeline.selectedTweens.push(this); |
322 | this.application.ninja.timeline.playhead.style.left = (this.keyFramePosition - 2) + "px"; | 324 | this.application.ninja.timeline.playhead.style.left = (this.keyFramePosition - 2) + "px"; |