diff options
author | Jonathan Duran | 2012-07-09 09:00:37 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-07-09 09:00:37 -0700 |
commit | 39aa69624e1e3b8598b0242ee6ec436862b67280 (patch) | |
tree | 252ba58a3f2bb9600262c48571cc3dabaee36449 /js/panels/Timeline/Tween.reel/Tween.js | |
parent | f20b1985dd672d36db1dc61fa30c53d9af6aacef (diff) | |
parent | 8c087f7c13a2bd72e1640e99e339a74fc2250901 (diff) | |
download | ninja-39aa69624e1e3b8598b0242ee6ec436862b67280.tar.gz |
Merge branch 'refs/heads/timeline-local' into TimelineUber
Conflicts:
js/panels/Timeline/Layer.reel/Layer.js
js/panels/Timeline/Style.reel/Style.js
js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
Signed-off-by: Jonathan Duran <jduran@motorola.com>
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 46b2042c..85fdfdc9 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -340,7 +340,9 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
340 | value: function(){ | 340 | value: function(){ |
341 | this.eventManager.addEventListener("elementChange", this, false); | 341 | this.eventManager.addEventListener("elementChange", this, false); |
342 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); | 342 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); |
343 | this.application.ninja.timeline.selectLayer(selectIndex, true); | 343 | // this.application.ninja.timeline.selectLayer(selectIndex, true); // deprecated |
344 | this.application.ninja.timeline.selectLayers([selectIndex]); | ||
345 | this.application.ninja.timeline.updateStageSelection(); | ||
344 | this.application.ninja.timeline.deselectTweens(); | 346 | this.application.ninja.timeline.deselectTweens(); |
345 | this.application.ninja.timeline.selectedTweens.push(this); | 347 | this.application.ninja.timeline.selectedTweens.push(this); |
346 | this.application.ninja.timeline.playhead.style.left = (this.keyFramePosition - 2) + "px"; | 348 | this.application.ninja.timeline.playhead.style.left = (this.keyFramePosition - 2) + "px"; |