diff options
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 0e430000..e4e90d51 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -644,7 +644,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
644 | newTween.tweenData = {}; | 644 | newTween.tweenData = {}; |
645 | 645 | ||
646 | if (clickPos == 0) { | 646 | if (clickPos == 0) { |
647 | this.animatedElement = this.application.ninja.timeline.currentLayerSelected.layerData.stageElement; | 647 | this.animatedElement = this.application.ninja.timeline.arrLayers[this.application.ninja.timeline.currentLayersSelected[0]].layerData.stageElement; |
648 | newTween.tweenData.spanWidth = 0; | 648 | newTween.tweenData.spanWidth = 0; |
649 | newTween.tweenData.keyFramePosition = 0; | 649 | newTween.tweenData.keyFramePosition = 0; |
650 | newTween.tweenData.keyFrameMillisec = 0; | 650 | newTween.tweenData.keyFrameMillisec = 0; |