From b5f5ea6bc209ada7f41dd9ebbda807c5a14bd2d7 Mon Sep 17 00:00:00 2001 From: Kruti Shah Date: Thu, 12 Apr 2012 11:49:34 -0700 Subject: Timeline: Fixing the animated Element Signed-off-by: Kruti Shah --- js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index f9dc440f..556c082d 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js @@ -898,7 +898,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { value:function(event){ this.currentLayerSelected.layerData.elementsList.pop(); this.currentLayerSelected.layerData.elementsList.push(event.detail.data.newChild); - TimelineTrack.animatedElement = event.detail.data.newChild; + this.currentLayerSelected.layerData.animatedElement = event.detail.data.newChild; } }, -- cgit v1.2.3