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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/file_grid.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_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 ad7aeabe68f246bdc62136c6cfde0144920271c6..3ee8bdbee10d869c9729938fde633d23a5a9e931 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
@@ -105,7 +105,7 @@ FileGrid.prototype.updateListItemsMetadata = function(type, entries) {
this.metadataCache_,
this.volumeManager_,
this.historyLoader_,
- ThumbnailLoader.FillMode.FILL,
+ ThumbnailLoader.FillMode.OVER_FILL,
FileGrid.ThumbnailQuality.LOW,
/* animation */ false);
}
@@ -181,7 +181,7 @@ FileGrid.decorateThumbnail = function(
metadataCache,
volumeManager,
historyLoader,
- ThumbnailLoader.FillMode.FILL,
+ ThumbnailLoader.FillMode.OVER_FILL,
FileGrid.ThumbnailQuality.LOW,
/* animation */ !previousBox);
}

Powered by Google App Engine
This is Rietveld 408576698