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

Unified Diff: tracing/tracing/ui/find_control.html

Issue 2454663002: Remove hidden spinner animation (Closed)
Patch Set: Created 4 years, 2 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: tracing/tracing/ui/find_control.html
diff --git a/tracing/tracing/ui/find_control.html b/tracing/tracing/ui/find_control.html
index 0660438b199727305c23df385ad7fe7d4866db24..7cbdd79be109605da6c19c558016cd27f5ae70d2 100644
--- a/tracing/tracing/ui/find_control.html
+++ b/tracing/tracing/ui/find_control.html
@@ -57,8 +57,6 @@ found in the LICENSE file.
border-bottom: 2px solid rgba(0, 0, 0, 0.5);
border-right: 2px solid rgba(0, 0, 0, 0.5);
border-radius: 50%;
-
- animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
</style>
@@ -138,8 +136,10 @@ Polymer({
filterTextChanged: function() {
Polymer.dom(this.$.hitCount).textContent = '';
this.$.spinner.style.visibility = 'visible';
+ this.$.spinner.style.animation = 'spin 1s linear infinite';
this.controller.startFiltering(this.$.filter.value).then(function() {
this.$.spinner.style.visibility = 'hidden';
+ this.$.spinner.style.animation = '';
this.updateHitCountEl();
}.bind(this));
},
« 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