优化
This commit is contained in:
@@ -162,7 +162,6 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
|
||||
val bitmap = ImageProvider.getImage(
|
||||
book,
|
||||
textChar.charData,
|
||||
ReadBook.bookSource,
|
||||
(textChar.end - textChar.start).toInt(),
|
||||
(lineBottom - lineTop).toInt()
|
||||
)
|
||||
|
||||
@@ -61,7 +61,6 @@ object ImageProvider {
|
||||
fun getImage(
|
||||
book: Book,
|
||||
src: String,
|
||||
bookSource: BookSource?,
|
||||
width: Int,
|
||||
height: Int
|
||||
): Bitmap {
|
||||
|
||||
Reference in New Issue
Block a user