aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 1c44c89f..2db0c18a 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -74,6 +74,20 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
74 } 74 }
75 }, 75 },
76 76
77 _selectedKeyframes:{
78 value:[]
79 },
80
81 selectedKeyframes:{
82 serializable:true,
83 get:function () {
84 return this._selectedKeyframes;
85 },
86 set:function (newVal) {
87 this._selectedKeyframes = newVal;
88 }
89 },
90
77 91
78 /* === END: Models === */ 92 /* === END: Models === */
79 93
@@ -153,6 +167,16 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
153 } 167 }
154 }, 168 },
155 169
170 deselectKeyframes:{
171 value:function () {
172 for (var i = 0; i < this.selectedKeyframes.length; i++) {
173 this.selectedKeyframes[i].deselect();
174 }
175 this.selectedKeyframes = null;
176 this.selectedKeyframes = new Array();
177 }
178 },
179
156 handleAddLayerClick:{ 180 handleAddLayerClick:{
157 value:function(event){ 181 value:function(event){
158 event.stopPropagation(); 182 event.stopPropagation();