aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index 89f18f98..ae8acc57 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -170,6 +170,12 @@ var Tween = exports.Tween = Montage.create(Component, {
170 170
171 }, 171 },
172 172
173 prepareForDraw:{
174 value:function(){
175 this.keyframe.selectKeyframe();
176 }
177 },
178
173 draw:{ 179 draw:{
174 value:function () { 180 value:function () {
175 this.tweenspan.element.style.width = this.spanWidth + "px"; 181 this.tweenspan.element.style.width = this.spanWidth + "px";
@@ -244,7 +250,7 @@ var Tween = exports.Tween = Montage.create(Component, {
244 this.isTweenAnimated = true; 250 this.isTweenAnimated = true;
245 } 251 }
246 252
247 if (eventDetail.source === "translateTool") { 253 if (eventDetail.source === "translateTool" || eventDetail.source === "rotateTool") {
248 var arrMat = eventDetail.data.value[0].properties.mat, 254 var arrMat = eventDetail.data.value[0].properties.mat,
249 strTweenProperty = "perspective(1400) matrix3d(" + arrMat.join() + ")"; 255 strTweenProperty = "perspective(1400) matrix3d(" + arrMat.join() + ")";
250 256