Index: third_party/polymer/components/neon-animation/animations/hero-animation.html |
diff --git a/third_party/polymer/components/neon-animation/animations/hero-animation.html b/third_party/polymer/components/neon-animation/animations/hero-animation.html |
index a9075e138fd08e2503be6424ca3073feac6b5fdf..176bee789e86c566d87f182132992be7a8f11be8 100644 |
--- a/third_party/polymer/components/neon-animation/animations/hero-animation.html |
+++ b/third_party/polymer/components/neon-animation/animations/hero-animation.html |
@@ -57,15 +57,15 @@ Configuration: |
var deltaWidth = fromRect.width / toRect.width; |
var deltaHeight = fromRect.height / toRect.height; |
- this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0'); |
- shared.to.style.zIndex = 10000; |
- shared.from.style.visibility = 'hidden'; |
- |
this._effect = new KeyframeEffect(shared.to, [ |
{'transform': 'translate(' + deltaLeft + 'px,' + deltaTop + 'px) scale(' + deltaWidth + ',' + deltaHeight + ')'}, |
{'transform': 'none'} |
], this.timingFromConfig(config)); |
+ this.setPrefixedProperty(shared.to, 'transformOrigin', '0 0'); |
+ shared.to.style.zIndex = 10000; |
+ shared.from.style.visibility = 'hidden'; |
+ |
return this._effect; |
}, |