aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJonathan Duran2012-06-26 17:07:58 -0700
committerJonathan Duran2012-06-26 17:07:58 -0700
commit555b03e7be67f387a07433f8fd59d533b5c4993e (patch)
treebc038e6cd6c5968863d2ac7c03844b1e0c541ffd /js
parent3b1bc2e5b3060b74853d40e4ec7c116faaa462c6 (diff)
downloadninja-555b03e7be67f387a07433f8fd59d533b5c4993e.tar.gz
Fix keyframe selection stickiness
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/Keyframe.reel/Keyframe.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/Keyframe.reel/Keyframe.js b/js/panels/Timeline/Keyframe.reel/Keyframe.js
index 95a94b36..f7c936f7 100644
--- a/js/panels/Timeline/Keyframe.reel/Keyframe.js
+++ b/js/panels/Timeline/Keyframe.reel/Keyframe.js
@@ -76,6 +76,9 @@ var Keyframe = exports.Keyframe = Montage.create(Component, {
76 76
77 selectKeyframe:{ 77 selectKeyframe:{
78 value:function(){ 78 value:function(){
79 if(this.isSelected){
80 return;
81 }
79 82
80 if(this.parentComponent.parentComponent.parentComponent.trackType == "position"){ 83 if(this.parentComponent.parentComponent.parentComponent.trackType == "position"){
81 var tweenID = this.parentComponent.tweenID; 84 var tweenID = this.parentComponent.tweenID;