What’s the thinking behind making `RoundedCornerSh...
# compose
g
What’s the thinking behind making
RoundedCornerShape
take a percentage as an
Int
instead of a float between 0f-1f? I keep finding myself creating custom CornerSizes to work around this
n
Unfortunately we have a collision between using floats as pixel values so we needed an alternative to represent percentages. @Andrey Kulikov might have some additional thoughts here too.
👍 1
g
Ah right, that's unfortunate!