diff options
author | Jon Reid | 2012-06-15 14:10:36 -0700 |
---|---|---|
committer | Jon Reid | 2012-06-15 14:10:36 -0700 |
commit | 0639b36bd4dc9c4c7659b87c05a22a08a4c49221 (patch) | |
tree | b7332b3ae3fcb065df1ed36cd02fded78468af3e /js/panels/Timeline/TimelineTrack.reel | |
parent | 0b41d5c873b25461e2217782af1c410b89cb56de (diff) | |
download | ninja-0639b36bd4dc9c4c7659b87c05a22a08a4c49221.tar.gz |
Timeline: Bug fix: When adding a new keyframe, easing is set to "undefined".
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 695f13ac..9276a7df 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -747,6 +747,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
747 | newTween.tweenData.keyFrameMillisec = currentMillisec; | 747 | newTween.tweenData.keyFrameMillisec = currentMillisec; |
748 | newTween.tweenData.tweenID = this.nextKeyframe; | 748 | newTween.tweenData.tweenID = this.nextKeyframe; |
749 | newTween.tweenData.spanPosition = clickPos - newTween.tweenData.spanWidth; | 749 | newTween.tweenData.spanPosition = clickPos - newTween.tweenData.spanWidth; |
750 | newTween.tweenData.easing = "ease-in"; | ||
750 | newTween.tweenData.tweenedProperties = []; | 751 | newTween.tweenData.tweenedProperties = []; |
751 | newTween.tweenData.tweenedProperties["top"] = this.animatedElement.offsetTop + "px"; | 752 | newTween.tweenData.tweenedProperties["top"] = this.animatedElement.offsetTop + "px"; |
752 | newTween.tweenData.tweenedProperties["left"] = this.animatedElement.offsetLeft + "px"; | 753 | newTween.tweenData.tweenedProperties["left"] = this.animatedElement.offsetLeft + "px"; |