mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -285,7 +285,7 @@ object ChapterProvider {
|
||||
)
|
||||
var durY = when {
|
||||
//标题y轴居中
|
||||
isTitleWithNoContent -> ((visibleHeight - layout.lineCount * textPaint.textHeight) / 2).toFloat()
|
||||
isTitleWithNoContent -> ((visibleHeight - layout.lineCount * textPaint.textHeight) / 2)
|
||||
isTitle -> y + titleTopSpacing
|
||||
else -> y
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user