We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 431bc84 commit dec4a37Copy full SHA for dec4a37
1 file changed
android/src/main/java/com/swmansion/enriched/markdown/MeasurementStore.kt
@@ -381,7 +381,7 @@ object MeasurementStore {
381
}
382
383
384
- val widthPx = width.toInt().coerceAtLeast(1)
+ val widthPx = ceil(width).toInt().coerceAtLeast(1)
385
val lastIndex = renderedSegments.lastIndex
386
var totalHeightPx = 0f
387
var maxContentWidthPx = 0f
0 commit comments