widgets: downsize widget images in round mode
This commit is contained in:
parent
2ecb94c97e
commit
272f7e4047
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ constructor(
|
||||||
return if (cornerRadius > 0) {
|
return if (cornerRadius > 0) {
|
||||||
// If rounded, reduce the bitmap size further to obtain more pronounced
|
// If rounded, reduce the bitmap size further to obtain more pronounced
|
||||||
// rounded corners.
|
// rounded corners.
|
||||||
builder.size(getSafeRemoteViewsImageSize(context, 10f))
|
builder.size(getSafeRemoteViewsImageSize(context, 11f))
|
||||||
val cornersTransformation =
|
val cornersTransformation =
|
||||||
RoundedRectTransformation(cornerRadius.toFloat())
|
RoundedRectTransformation(cornerRadius.toFloat())
|
||||||
if (imageSettings.forceSquareCovers) {
|
if (imageSettings.forceSquareCovers) {
|
||||||
|
|
Loading…
Reference in a new issue