diff options
author | Valerio Virgillito | 2012-07-24 11:05:32 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-24 11:05:32 -0700 |
commit | 2e86072a159c4bc270c6e897a7e1a81a492ed886 (patch) | |
tree | 66f10ae874f546fa5e2936956afe233d322539a8 /js/panels/Timeline | |
parent | 2222e73faee8326e4d5be276bc8486316d83f2a6 (diff) | |
parent | 4f0b38baec63b4d1a666d1d9b4e5720553de2983 (diff) | |
download | ninja-2e86072a159c4bc270c6e897a7e1a81a492ed886.tar.gz |
Merge branch 'TimelineUber' of https://github.com/imix23ways/ninja into v0.7.1
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index c9b59253..9ad88a69 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -312,6 +312,15 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
312 | this.parentComponent.parentComponent.updateKeyframeRule(); | 312 | this.parentComponent.parentComponent.updateKeyframeRule(); |
313 | this.isTweenAnimated = true; | 313 | this.isTweenAnimated = true; |
314 | } | 314 | } |
315 | |||
316 | if(eventDetail.source === "pi" && eventDetail.type === "setMatrix"){ | ||
317 | var piArrMat = eventDetail.data.value, | ||
318 | piStrTweenProperty = "perspective(1400) matrix3d(" + piArrMat.join() + ")"; | ||
319 | |||
320 | this.tweenedProperties["-webkit-transform"] = piStrTweenProperty; | ||
321 | this.parentComponent.parentComponent.updateKeyframeRule(); | ||
322 | this.isTweenAnimated = true; | ||
323 | } | ||
315 | } | 324 | } |
316 | }, | 325 | }, |
317 | 326 | ||