aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelineTrack.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 2096b3ce..601788ad 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -430,8 +430,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
430 draw:{ 430 draw:{
431 value:function () { 431 value:function () {
432 this.ninjaStylesContoller = this.application.ninja.stylesController; 432 this.ninjaStylesContoller = this.application.ninja.stylesController;
433
434 // animatedElement going away - unneeded below
435 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); 433 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID);
436 if(this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0]){ 434 if(this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0]){
437 this.animatedElement = this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0]; 435 this.animatedElement = this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0];
@@ -456,9 +454,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
456 value:function (ev) { 454 value:function (ev) {
457 // TEMP - if the SHIFT key is down, add a new keyframe or split an existing span 455 // TEMP - if the SHIFT key is down, add a new keyframe or split an existing span
458 // This needs to move to a keyboard shortcut that is TBD 456 // This needs to move to a keyboard shortcut that is TBD
459
460 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); 457 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID);
461
462 if (ev.shiftKey) { 458 if (ev.shiftKey) {
463 if (this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList.length == 1) { 459 if (this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList.length == 1) {
464 if (this.tweens.length < 1) { 460 if (this.tweens.length < 1) {