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.js21
1 files changed, 18 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 8276f878..a8a4d4a8 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -4,9 +4,10 @@
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */ 5 </copyright> */
6 6
7var Montage = require("montage/core/core").Montage; 7var Montage = require("montage/core/core").Montage,
8var Component = require("montage/ui/component").Component; 8 Component = require("montage/ui/component").Component,
9var nj = require("js/lib/NJUtils").NJUtils; 9 nj = require("js/lib/NJUtils").NJUtils,
10 EasingMenuPopup = require("js/panels/Timeline/EasingMenu.reel").EasingMenu;
10 11
11var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { 12var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
12 13
@@ -204,6 +205,18 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
204 } 205 }
205 }, 206 },
206 207
208 _easingMenu: {
209 value: null
210 },
211 easingMenu: {
212 get: function() {
213 return this._easingMenu;
214 },
215 set: function(newVal) {
216 this._easingMenu = newVal;
217 }
218 },
219
207 // The index of the last layer that was clicked on 220 // The index of the last layer that was clicked on
208 // (used for shift-click multiselect) 221 // (used for shift-click multiselect)
209 _lastLayerClicked : { 222 _lastLayerClicked : {
@@ -481,6 +494,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
481 boundObjectPropertyPath:"currentSelectedContainer", 494 boundObjectPropertyPath:"currentSelectedContainer",
482 oneway:true 495 oneway:true
483 }); 496 });
497 this.easingMenu = EasingMenuPopup;
498 this.easingMenu.show();
484 499
485 } 500 }
486 }, 501 },