mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Increased page split height
Closes GH-23
This commit is contained in:
parent
d05c0dbeda
commit
499238f83b
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ object ImageUtil {
|
||||||
val imageHeight = outHeight
|
val imageHeight = outHeight
|
||||||
val imageWidth = outWidth
|
val imageWidth = outWidth
|
||||||
|
|
||||||
val optimalImageHeight = displayMaxHeightInPx * 2
|
val optimalImageHeight = displayMaxHeightInPx * 4
|
||||||
|
|
||||||
// -1 so it doesn't try to split when imageHeight = optimalImageHeight
|
// -1 so it doesn't try to split when imageHeight = optimalImageHeight
|
||||||
val partCount = (imageHeight - 1) / optimalImageHeight + 1
|
val partCount = (imageHeight - 1) / optimalImageHeight + 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue