| Index: third_party/polymer/components/neon-animation/animations/transform-animation.html
|
| diff --git a/third_party/polymer/components/neon-animation/animations/transform-animation.html b/third_party/polymer/components/neon-animation/animations/transform-animation.html
|
| index f5963ed05fef826149cd82df1dc78ea2e0b01a59..2e5044422ef611a00b501fb0592d28db405ab623 100644
|
| --- a/third_party/polymer/components/neon-animation/animations/transform-animation.html
|
| +++ b/third_party/polymer/components/neon-animation/animations/transform-animation.html
|
| @@ -53,15 +53,15 @@ Configuration:
|
| var transformFrom = config.transformFrom || 'none';
|
| var transformTo = config.transformTo || 'none';
|
|
|
| - if (config.transformOrigin) {
|
| - this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
|
| - }
|
| -
|
| this._effect = new KeyframeEffect(node, [
|
| {'transform': transformFrom},
|
| {'transform': transformTo}
|
| ], this.timingFromConfig(config));
|
|
|
| + if (config.transformOrigin) {
|
| + this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
|
| + }
|
| +
|
| return this._effect;
|
| }
|
|
|
|
|