File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4322,9 +4322,9 @@ caja_file_get_icon (CajaFile *file,
4322
4322
}
4323
4323
4324
4324
if (flags & CAJA_FILE_ICON_FLAGS_FORCE_THUMBNAIL_SIZE ) {
4325
- modified_size = size ;
4325
+ modified_size = size * scale ;
4326
4326
} else {
4327
- modified_size = size * cached_thumbnail_size / CAJA_ICON_SIZE_STANDARD ;
4327
+ modified_size = size * scale * cached_thumbnail_size / CAJA_ICON_SIZE_STANDARD ;
4328
4328
}
4329
4329
if (flags & CAJA_FILE_ICON_FLAGS_USE_THUMBNAILS &&
4330
4330
caja_file_should_show_thumbnail (file )) {
@@ -4370,7 +4370,7 @@ caja_file_get_icon (CajaFile *file,
4370
4370
image instead. We don't want to compare to exactly 100%,
4371
4371
since the zoom level 150% gives thumbnails at 144, which is
4372
4372
ok to scale up from 128. */
4373
- if (modified_size > 128 * 1.25 &&
4373
+ if (modified_size > 128 * 1.25 * scale &&
4374
4374
!file -> details -> thumbnail_wants_original &&
4375
4375
caja_can_thumbnail_internally (file )) {
4376
4376
/* Invalidate if we resize upward */
You can’t perform that action at this time.
0 commit comments