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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/file_grid.js

Issue 1015393002: Files.app: Add fade animation on toggling checkmarks on grid view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « ui/file_manager/file_manager/foreground/css/file_manager.css ('k') | 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/js/ui/file_grid.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
index a2eecf712b31ccce00b0d03317d085e4d4f7267c..45383061574d1fa098a5ba561f7c8f297cba3256 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
@@ -212,9 +212,12 @@ FileGrid.decorateThumbnail_ = function(
}
frame.appendChild(box);
- var checkmark = li.ownerDocument.createElement('div');
- checkmark.className = 'checkmark';
- frame.appendChild(checkmark);
+ var active_checkmark = li.ownerDocument.createElement('div');
+ active_checkmark.className = 'checkmark active';
+ frame.appendChild(active_checkmark);
+ var inactive_checkmark = li.ownerDocument.createElement('div');
+ inactive_checkmark.className = 'checkmark inactive';
+ frame.appendChild(inactive_checkmark);
var bottom = li.ownerDocument.createElement('div');
bottom.className = 'thumbnail-bottom';
« no previous file with comments | « ui/file_manager/file_manager/foreground/css/file_manager.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698