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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js

Issue 1841833004: Fix morphing of files-toggle-ripple by passing proper property names to Animation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
diff --git a/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js b/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
index 17b47424b5739585ce41756da0692f58af4939a7..7a681b8cf8a3cfb485a15decf6a61d229ba7467a 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
+++ b/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
@@ -77,17 +77,17 @@ var FilesToggleRipple = Polymer({
], 500);
this.$.ripple.animate([
{
- 'border-radius': borderRadius + 'px',
+ borderRadius: borderRadius + 'px',
offset: 0,
easing: 'linear'
},
{
- 'border-radius': borderRadius + 'px',
+ borderRadius: borderRadius + 'px',
offset: 0.333,
easing: 'cubic-bezier(0.109613342381, 0.32112094549, 0.2, 1.0)'
},
{
- 'border-radius': '2px',
+ borderRadius: '2px',
offset: 1
}
], 750);
@@ -119,12 +119,12 @@ var FilesToggleRipple = Polymer({
], 150);
this.$.ripple.animate([
{
- 'border-radius': '2px',
+ borderRadius: '2px',
offset: 0,
easing: 'cubic-bezier(0, 0, 0.2, 1)'
},
{
- 'border-radius': borderRadius + 'px',
+ borderRadius: borderRadius + 'px',
offset: 1
}
], 150);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698