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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_animated_pages.js

Issue 2889653005: MD Settings: Shorten page fade transitions (Closed)
Patch Set: Created 3 years, 7 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: chrome/browser/resources/settings/settings_page/settings_animated_pages.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
index 3da7e7a3771d95773f3b294bd853e65a5d137363..cdcee5c765f9ea93aabedcdf6db773b5cd1f220a 100644
--- a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
+++ b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
@@ -119,8 +119,8 @@ Polymer({
if (newRoute.section == this.section && newRoute.isSubpage()) {
this.switchToSubpage_(newRoute, oldRoute);
} else {
- this.$.animatedPages.exitAnimation = 'fade-out-animation';
- this.$.animatedPages.entryAnimation = 'fade-in-animation';
+ this.$.animatedPages.exitAnimation = 'settings-fade-out-animation';
+ this.$.animatedPages.entryAnimation = 'settings-fade-in-animation';
this.$.animatedPages.selected = 'default';
}
},
@@ -152,8 +152,8 @@ Polymer({
this.$.animatedPages.entryAnimation = 'slide-from-left-animation';
} else {
// The old route is not a subpage or is at the same level, so just fade.
- this.$.animatedPages.exitAnimation = 'fade-out-animation';
- this.$.animatedPages.entryAnimation = 'fade-in-animation';
+ this.$.animatedPages.exitAnimation = 'settings-fade-out-animation';
+ this.$.animatedPages.entryAnimation = 'settings-fade-in-animation';
if (!oldRoute.isSubpage()) {
// Set the height the expand animation should start at before

Powered by Google App Engine
This is Rietveld 408576698