aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 18df20c2..c6b67c9c 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -394,6 +394,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
394 draw:{ 394 draw:{
395 value:function () { 395 value:function () {
396 this.ninjaStylesContoller = this.application.ninja.stylesController; 396 this.ninjaStylesContoller = this.application.ninja.stylesController;
397 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID);
398 if(this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0]){
399 this.animatedElement = this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0];
400 }
397 } 401 }
398 }, 402 },
399 403