Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: third_party/polymer/components/neon-animation/animations/ripple-animation.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
},

Powered by Google App Engine
This is Rietveld 408576698