优化
This commit is contained in:
@@ -266,9 +266,9 @@ object ChapterProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
val textLine = TextLine(isImage = true)
|
val textLine = TextLine(isImage = true)
|
||||||
textLine.lineTop = durY
|
textLine.lineTop = durY + paddingTop
|
||||||
durY += height
|
durY += height
|
||||||
textLine.lineBottom = durY
|
textLine.lineBottom = durY + paddingTop
|
||||||
val (start, end) = if (visibleWidth > width) {
|
val (start, end) = if (visibleWidth > width) {
|
||||||
val adjustWidth = (visibleWidth - width) / 2f
|
val adjustWidth = (visibleWidth - width) / 2f
|
||||||
Pair(adjustWidth, adjustWidth + width)
|
Pair(adjustWidth, adjustWidth + width)
|
||||||
|
|||||||
Reference in New Issue
Block a user