Relax limit since we could scale it

This commit is contained in:
tarsin committed 2022-11-26 15:39:55 +08:00
1 parent 1ab9811d7a
commit 8f5a2ba85d
1 file changed
+2 -2
+2 -2
View File
@@ -56,8 +56,8 @@ class Image private constructor(
decoder.setTargetSampleSize(
max(
max(
info.size.width / screenWidth,
info.size.height / screenHeight
info.size.width / (2 * screenWidth),
info.size.height / (2 * screenHeight)
), 1
)
)