放大图标
This commit is contained in:
parent
0ffbda3334
commit
ddbf7dd400
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 95 KiB |
|
|
@ -134,7 +134,7 @@ class CircleProgressBar @JvmOverloads constructor(
|
||||||
val centerY = height / 2f
|
val centerY = height / 2f
|
||||||
val iconWidth = icon.width.toFloat()
|
val iconWidth = icon.width.toFloat()
|
||||||
val iconHeight = icon.height.toFloat()
|
val iconHeight = icon.height.toFloat()
|
||||||
val iconBorderMargin = 12.dp
|
val iconBorderMargin = 0.dp
|
||||||
|
|
||||||
|
|
||||||
val scale: Float = if (iconWidth > iconHeight) {
|
val scale: Float = if (iconWidth > iconHeight) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue