aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
authorJonathan Duran2012-06-22 01:33:58 -0700
committerJonathan Duran2012-06-22 01:33:58 -0700
commit04f206173530b6efde16b934b1f959b255d18441 (patch)
treec95cf06050324d1fb4098ceca5229922505566ca /js/panels/Timeline/TimelinePanel.reel
parentc411f76d89c543837548085ff468fee0fb4f2ff9 (diff)
downloadninja-04f206173530b6efde16b934b1f959b255d18441.tar.gz
FIx - can't delete keyframes
F5 now deletes the selected keyframe Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 2cbd9e2b..1c023fdb 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -1034,17 +1034,15 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
1034 }, 1034 },
1035 1035
1036 handleKeyframeShortcut:{ 1036 handleKeyframeShortcut:{
1037 value:function(){ 1037 value:function(action){
1038 //console.log(this.currentLayersSelected);
1039 //console.log(this.trackRepetition);
1040 var tempEv = {}; 1038 var tempEv = {};
1041 tempEv.offsetX = this.playheadmarker.offsetLeft; 1039 tempEv.offsetX = this.playheadmarker.offsetLeft;
1040 tempEv.actionType = action;
1042 if (typeof(this.trackRepetition.childComponents[this.currentLayersSelected[0]]) !== "undefined") { 1041 if (typeof(this.trackRepetition.childComponents[this.currentLayersSelected[0]]) !== "undefined") {
1043 this.trackRepetition.childComponents[this.currentLayersSelected[0]].handleKeyboardShortcut(tempEv); 1042 this.trackRepetition.childComponents[this.currentLayersSelected[0]].handleKeyboardShortcut(tempEv);
1044 } else { 1043 } else {
1045 // oops, we do not have a layer selected. We should growl at the user. For now, this will fail silently. 1044 // oops, we do not have a layer selected. We should growl at the user. For now, this will fail silently.
1046 } 1045 }
1047
1048 } 1046 }
1049 }, 1047 },
1050 1048