aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 10097805..d4f92b39 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -834,12 +834,12 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
834 handleElementAdded:{ 834 handleElementAdded:{
835 value:function() { 835 value:function() {
836 this.createNewLayer(); 836 this.createNewLayer();
837 this.currentLayerSelected.layerData.elementsList.push(this.application.ninja.selectedElements[0]._element); 837 this.currentLayerSelected.layerData.elementsList.push(this.application.ninja.selectedElements[0]);
838 this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName; 838 this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName;
839 } 839 }
840 }, 840 },
841 841
842 handleElementDeleted:{ 842 handleElementsRemoved:{
843 value:function () { 843 value:function () {
844 this.deleteLayer(); 844 this.deleteLayer();
845 } 845 }