aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Keyframe.reel/Keyframe.js
diff options
context:
space:
mode:
authorKruti Shah2012-06-12 13:18:02 -0700
committerKruti Shah2012-06-12 13:18:02 -0700
commit7887aafbff794e9c5f918c667e73a8386c38cf02 (patch)
treee4d070fe1e67fea38cc0343eda297572da717efa /js/panels/Timeline/Keyframe.reel/Keyframe.js
parentd648c842905c7c53e0f89b943982493d2b79f56e (diff)
downloadninja-7887aafbff794e9c5f918c667e73a8386c38cf02.tar.gz
Clean up
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Keyframe.reel/Keyframe.js')
-rw-r--r--js/panels/Timeline/Keyframe.reel/Keyframe.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/panels/Timeline/Keyframe.reel/Keyframe.js b/js/panels/Timeline/Keyframe.reel/Keyframe.js
index f450dd8a..ba6952aa 100644
--- a/js/panels/Timeline/Keyframe.reel/Keyframe.js
+++ b/js/panels/Timeline/Keyframe.reel/Keyframe.js
@@ -60,10 +60,8 @@ var Keyframe = exports.Keyframe = Montage.create(Component, {
60 if(this.isSelected){ 60 if(this.isSelected){
61 this.element.classList.add("keyframeSelected"); 61 this.element.classList.add("keyframeSelected");
62 this.application.ninja.timeline.selectedStyle = this.parentComponent.parentComponent.parentComponent.trackEditorProperty; 62 this.application.ninja.timeline.selectedStyle = this.parentComponent.parentComponent.parentComponent.trackEditorProperty;
63 console.log(this.application.ninja.timeline.selectedStyle)
64 }else{ 63 }else{
65 this.element.classList.remove("keyframeSelected"); 64 this.element.classList.remove("keyframeSelected");
66 this.application.ninja.timeline.selectedStyle = !(this.parentComponent.parentComponent.parentComponent.trackEditorProperty);
67 } 65 }
68 this.element.style.left = (this.position - 5) + "px"; 66 this.element.style.left = (this.position - 5) + "px";
69 } 67 }
@@ -73,7 +71,6 @@ var Keyframe = exports.Keyframe = Montage.create(Component, {
73 value:function(){ 71 value:function(){
74 this.isSelected=false; 72 this.isSelected=false;
75 this.element.style.left = (this.position - 5) + "px"; 73 this.element.style.left = (this.position - 5) + "px";
76 this.application.ninja.timeline.selectedStyle = !(this.parentComponent.parentComponent.parentComponent.trackEditorProperty)
77 } 74 }
78 }, 75 },
79 76