Skip to content

Commit 4913c4b

Browse files
committed
Make the zoom cutoff 8, so icon type sar files are at least 256x256
1 parent a8b43c9 commit 4913c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SarThumbnailHandler/ThumbnailProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ IFACEMETHODIMP ThumbnailProvider::GetThumbnail(UINT thumb_size, HBITMAP* phbmp,
8181
}
8282

8383
int maxDim = __max(sar->width(), sar->height());
84-
thumb_size = __min(5 * maxDim, thumb_size);
84+
thumb_size = __min(8 * maxDim, thumb_size);
8585

8686
int newW = sar->width() * thumb_size / maxDim;
8787
int newH = sar->height() * thumb_size / maxDim;

0 commit comments

Comments
 (0)