mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
恢复被还原的注释
This commit is contained in:
@@ -64,12 +64,18 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
|
||||
callBack = activity as CallBack
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置内容
|
||||
*/
|
||||
fun setContent(textPage: TextPage) {
|
||||
this.textPage = textPage
|
||||
imagePaint.isAntiAlias = AppConfig.useAntiAlias
|
||||
invalidate()
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新绘制区域
|
||||
*/
|
||||
fun upVisibleRect() {
|
||||
visibleRect.set(
|
||||
ChapterProvider.paddingLeft.toFloat(),
|
||||
|
||||
Reference in New Issue
Block a user