From da947511d4e042ba07585f62cfe6d52658835776 Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 30 Sep 2021 12:18:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/widget/image/CoverImageView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt b/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt index 3ba26a049..898e5663f 100644 --- a/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/image/CoverImageView.kt @@ -121,6 +121,7 @@ class CoverImageView @JvmOverloads constructor( authorPaint.strokeWidth = authorPaint.textSize / 5 startX = width * 0.8f startY = height * 0.95f - author.size * authorPaint.textHeight + startY = maxOf(startY, height * 0.3f) author.forEach { authorPaint.color = Color.WHITE authorPaint.style = Paint.Style.STROKE