| Index: third_party/polymer/components/neon-animation/animations/ripple-animation.html
|
| diff --git a/third_party/polymer/components/neon-animation/animations/ripple-animation.html b/third_party/polymer/components/neon-animation/animations/ripple-animation.html
|
| index 1f5c736e3bb6488388a5c5030c5e65254c384804..d97186c3772c70ab6071b13238fa4f07a49eddb6 100644
|
| --- a/third_party/polymer/components/neon-animation/animations/ripple-animation.html
|
| +++ b/third_party/polymer/components/neon-animation/animations/ripple-animation.html
|
| @@ -70,13 +70,14 @@ Configuration:
|
| var scaleY = diameter / toRect.height;
|
| var scale = 'scale(' + scaleX + ',' + scaleY + ')';
|
|
|
| - this.setPrefixedProperty(shared.to, 'transformOrigin', '50% 50%');
|
| - shared.to.style.borderRadius = '50%';
|
| -
|
| this._effect = new KeyframeEffect(shared.to, [
|
| {'transform': translate + ' scale(0)'},
|
| {'transform': translate + ' ' + scale}
|
| ], this.timingFromConfig(config));
|
| +
|
| + this.setPrefixedProperty(shared.to, 'transformOrigin', '50% 50%');
|
| + shared.to.style.borderRadius = '50%';
|
| +
|
| return this._effect;
|
| },
|
|
|
|
|