Make text shadows more visible.

This commit is contained in:
azuo
2021-09-25 11:08:10 +08:00
parent da9fc362af
commit a306d92282
11 changed files with 52 additions and 37 deletions

View File

@ -17,7 +17,7 @@ object ImageHelper {
0 -> 0f * factor
1 -> 8f * factor
2 -> 16f * factor
else -> 0f * factor
else -> 8f * factor
}, resources.displayMetrics)
if (originalView.drawable != null && originalView.drawable.intrinsicWidth > 0 && originalView.drawable.intrinsicHeight > 0) {
@ -58,7 +58,7 @@ object ImageHelper {
0 -> 0f * factor
1 -> 0.8f * factor
2 -> 1f * factor
else -> 0f
else -> 0.8f * factor
}))
colorMatrixScript.setColorMatrix(matrix)