kopia lustrzana https://github.com/vitorpamplona/amethyst
Trying to fix the image bleed into the previous and next page in the Video feed.
rodzic
c738436ddc
commit
33f8b6d6d8
|
@ -361,11 +361,13 @@ private fun UrlImageView(
|
|||
mainImageModifier
|
||||
.widthIn(max = maxWidth)
|
||||
.heightIn(max = maxHeight)
|
||||
/* Is this necessary? It makes images bleed into other pages
|
||||
.run {
|
||||
aspectRatio(content.dim)?.let { ratio ->
|
||||
this.aspectRatio(ratio, false)
|
||||
} ?: this
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
val contentScale = remember {
|
||||
|
|
Ładowanie…
Reference in New Issue