优化
This commit is contained in:
1 parent
1852f95bd0
commit
1a1bec06de
1 file changed
+1
-1
@@ -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