diff options
author | Jonathan Duran | 2012-05-08 13:42:04 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-05-08 13:42:04 -0700 |
commit | 4f1693b953befabf4495df668f542c7f52270864 (patch) | |
tree | d7d87b0be39d47d55685b0cbc2ddc9db39abc7c7 /js/panels/Timeline/Tween.reel/Tween.js | |
parent | a831e11ef6ae97bbd90c896b5cb6f4306e9001dd (diff) | |
download | ninja-4f1693b953befabf4495df668f542c7f52270864.tar.gz |
Change sub property track arrays
Remove transform section and move width and height into Position section. rename position section Position and Size. additional support for generic prop tweens
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Tween.reel/Tween.js')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index c733b8d7..6c273a49 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -239,8 +239,6 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
239 | 239 | ||
240 | selectTween:{ | 240 | selectTween:{ |
241 | value: function(){ | 241 | value: function(){ |
242 | console.log("tween select"); | ||
243 | |||
244 | // turn on event listener for element change | 242 | // turn on event listener for element change |
245 | this.eventManager.addEventListener("elementChange", this, false); | 243 | this.eventManager.addEventListener("elementChange", this, false); |
246 | 244 | ||
@@ -248,7 +246,7 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
248 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); | 246 | var selectIndex = this.application.ninja.timeline.getLayerIndexByID(this.parentComponent.parentComponent.trackID); |
249 | this.application.ninja.timeline.selectLayer(selectIndex, true); | 247 | this.application.ninja.timeline.selectLayer(selectIndex, true); |
250 | 248 | ||
251 | // tell timeline to deselect all other tweens and push this one as the currentSelectedTweens in timeline | 249 | // tell timeline to deselect all other tweens and push this one into the selectedTweens in timeline |
252 | this.application.ninja.timeline.deselectTweens(); | 250 | this.application.ninja.timeline.deselectTweens(); |
253 | this.application.ninja.timeline.selectedTweens.push(this); | 251 | this.application.ninja.timeline.selectedTweens.push(this); |
254 | 252 | ||