diff options
author | Jon Reid | 2012-02-27 13:31:39 -0800 |
---|---|---|
committer | Jon Reid | 2012-02-27 13:31:39 -0800 |
commit | 5179adf63d25856a8ee96005678d7a6ac626cba6 (patch) | |
tree | 57b42e4c8ef02066dcf60bebac71f35dfb7bcf4d /js/panels/Timeline/Tween.reel/Tween.js | |
parent | d55224f36da55e26c266a02efa6e58d4ecf1253e (diff) | |
download | ninja-5179adf63d25856a8ee96005678d7a6ac626cba6.tar.gz |
Timeline: More work on clear timeline method.
Diffstat (limited to 'js/panels/Timeline/Tween.reel/Tween.js')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index f6dbf32c..70b52297 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -140,6 +140,7 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
140 | value:function (event) { | 140 | value:function (event) { |
141 | if (event.detail.source && event.detail.source !== "tween") { | 141 | if (event.detail.source && event.detail.source !== "tween") { |
142 | // check for correct element selection | 142 | // check for correct element selection |
143 | console.log(this.application.ninja.selectedElements[0]._element) | ||
143 | if (this.application.ninja.selectedElements[0]._element != this.parentComponent.parentComponent.animatedElement) { | 144 | if (this.application.ninja.selectedElements[0]._element != this.parentComponent.parentComponent.animatedElement) { |
144 | alert("Wrong element selected for this keyframe track"); | 145 | alert("Wrong element selected for this keyframe track"); |
145 | } else { | 146 | } else { |