aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Span.reel
diff options
context:
space:
mode:
authorKruti Shah2012-07-09 11:14:55 -0700
committerKruti Shah2012-07-09 11:14:55 -0700
commit6e29c88846e12757f127f0ce8e8cbb737ab8c880 (patch)
treebc325b52afd38d00475cf979b5c293350dc0d912 /js/panels/Timeline/Span.reel
parent8a2a9cf8d43a1ba7e40c41619e7db9675f4cb195 (diff)
downloadninja-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.js5
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;