| Index: third_party/polymer/v1_0/components/neon-animation/animations/scale-up-animation.html
|
| diff --git a/third_party/polymer/v1_0/components/neon-animation/animations/scale-up-animation.html b/third_party/polymer/v1_0/components/neon-animation/animations/scale-up-animation.html
|
| index 43d3d46199076c3f217590df02df5bff24340a53..b5164f7fe1dc5231346cfdb4fea39d17e8b84c96 100644
|
| --- a/third_party/polymer/v1_0/components/neon-animation/animations/scale-up-animation.html
|
| +++ b/third_party/polymer/v1_0/components/neon-animation/animations/scale-up-animation.html
|
| @@ -45,9 +45,16 @@ Configuration:
|
| 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;
|
|
|