diff options
author | Jon Reid | 2012-06-18 16:46:00 -0700 |
---|---|---|
committer | Jon Reid | 2012-06-18 16:46:00 -0700 |
commit | e600253fa8e6027c4bac7ebb69e0d4ce12a76ff8 (patch) | |
tree | 8252f4fcbc20535dbd2ba299d790fd9b55748f19 /js/panels/Timeline/TimelineTrack.reel | |
parent | 3163108217677d7eec1c79cf6aa7525cdd6600ef (diff) | |
download | ninja-e600253fa8e6027c4bac7ebb69e0d4ce12a76ff8.tar.gz |
Timeline: Enable splitting of keyframes with F6 interaction.
Bug fix: Error on console if you press F6 with no layer selected.
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index a4d20c39..84bac2cb 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -703,9 +703,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
703 | this.addAnimationRuleToElement(ev); | 703 | this.addAnimationRuleToElement(ev); |
704 | this.updateKeyframeRule(); | 704 | this.updateKeyframeRule(); |
705 | } else { | 705 | } else { |
706 | 706 | //this.handleNewTween(ev); | |
707 | 707 | ||
708 | this.handleNewTween(ev); | 708 | // Split a tween! |
709 | this.splitTweenAt(this.application.ninja.timeline.playheadmarker.offsetLeft) | ||
709 | this.updateKeyframeRule(); | 710 | this.updateKeyframeRule(); |
710 | } | 711 | } |
711 | } | 712 | } |