diff options
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"; |