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

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

Issue 904393003: Files.app: allow stretching thumbnails in file list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: ui/file_manager/file_manager/foreground/js/ui/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
index a271a8c440b0d777ba1738128edf7cbbb88cf640..9147bd8592bd2e971e7bfea5b73e3bb3a912d004 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
@@ -792,7 +792,7 @@ FileTable.prototype.renderThumbnail_ = function(entry) {
function(metadata) {
var loader = new ThumbnailLoader(
entry, ThumbnailLoader.LoaderType.IMAGE, metadata);
- loader.load(box, ThumbnailLoader.FillMode.FILL,
+ loader.load(box, ThumbnailLoader.FillMode.OVER_FILL,
ThumbnailLoader.OptimizationMode.DISCARD_DETACHED,
function(image, transform) {
box.classList.add('loaded');

Powered by Google App Engine
This is Rietveld 408576698