diff options
author | Kruti Shah | 2012-07-09 11:14:55 -0700 |
---|---|---|
committer | Kruti Shah | 2012-07-09 11:14:55 -0700 |
commit | 6e29c88846e12757f127f0ce8e8cbb737ab8c880 (patch) | |
tree | bc325b52afd38d00475cf979b5c293350dc0d912 /js/panels/Timeline/Span.reel | |
parent | 8a2a9cf8d43a1ba7e40c41619e7db9675f4cb195 (diff) | |
download | ninja-6e29c88846e12757f127f0ce8e8cbb737ab8c880.tar.gz |
Adding comments
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Span.reel')
-rw-r--r-- | js/panels/Timeline/Span.reel/Span.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/panels/Timeline/Span.reel/Span.js b/js/panels/Timeline/Span.reel/Span.js index ffe7f4a4..ee3bcb0b 100644 --- a/js/panels/Timeline/Span.reel/Span.js +++ b/js/panels/Timeline/Span.reel/Span.js | |||
@@ -163,11 +163,12 @@ var Span = exports.Span = Montage.create(Component, { | |||
163 | handleEasingChoicesClick: { | 163 | handleEasingChoicesClick: { |
164 | value: function(event) { | 164 | value: function(event) { |
165 | event.stopPropagation(); | 165 | event.stopPropagation(); |
166 | 166 | ||
167 | /* Un-highlight the old choice and highlight the new choice */ | ||
167 | this.application.ninja.timeline.easingMenu.popup.contentEl.querySelector(".easing-selected").classList.remove("easing-selected"); | 168 | this.application.ninja.timeline.easingMenu.popup.contentEl.querySelector(".easing-selected").classList.remove("easing-selected"); |
168 | event.target.classList.add("easing-selected"); | 169 | event.target.classList.add("easing-selected"); |
169 | 170 | ||
170 | // Set the easing | 171 | /* Set the easing */ |
171 | this.easing = event.target.dataset.ninjaEase; | 172 | this.easing = event.target.dataset.ninjaEase; |
172 | this.parentTween.easing = this.easing; | 173 | this.parentTween.easing = this.easing; |
173 | this.parentTween.tweenData.easing = this.easing; | 174 | this.parentTween.tweenData.easing = this.easing; |