mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-04 08:35:07 +01:00
Fixes to white background sometimes in auto dark mode
This commit is contained in:
parent
4ac4923d15
commit
5874a4d2df
@ -93,7 +93,8 @@ object ImageUtil {
|
|||||||
topLeftIsDark -> image.getPixel(left, top)
|
topLeftIsDark -> image.getPixel(left, top)
|
||||||
topRightIsDark -> image.getPixel(right, top)
|
topRightIsDark -> image.getPixel(right, top)
|
||||||
botLeftIsDark -> image.getPixel(left, bot)
|
botLeftIsDark -> image.getPixel(left, bot)
|
||||||
else -> image.getPixel(right, bot)
|
botRightIsDark -> image.getPixel(right, bot)
|
||||||
|
else -> android.R.attr.colorBackground
|
||||||
}
|
}
|
||||||
|
|
||||||
var overallWhitePixels = 0
|
var overallWhitePixels = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user