| Index: third_party/polymer/v1_0/components-chromium/neon-animation/animations/scale-up-animation-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/neon-animation/animations/scale-up-animation-extracted.js b/third_party/polymer/v1_0/components-chromium/neon-animation/animations/scale-up-animation-extracted.js
|
| index a63aad6ba0dc92fcf11453905fb6fcf18100df6e..c94708c1faeaf217d9e7fb73c5f2757519fc1c20 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/neon-animation/animations/scale-up-animation-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/neon-animation/animations/scale-up-animation-extracted.js
|
| @@ -15,9 +15,16 @@
|
| this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
|
| }
|
|
|
| + var scaleProperty = 'scale(0)';
|
| + if (config.axis === 'x') {
|
| + scaleProperty = 'scale(0, 1)';
|
| + } else if (config.axis === 'y') {
|
| + scaleProperty = 'scale(1, 0)';
|
| + }
|
| +
|
| this._effect = new KeyframeEffect(node, [
|
| - {'transform': 'scale(0)'},
|
| - {'transform': 'scale(1)'}
|
| + {'transform': scaleProperty},
|
| + {'transform': 'scale(1, 1)'}
|
| ], this.timingFromConfig(config));
|
|
|
| return this._effect;
|
|
|