diff options
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-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"; |