Explorar o código

恢复被还原的注释

Seidko %!s(int64=4) %!d(string=hai) anos
pai
achega
787b1558e7

+ 6 - 0
app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt

@@ -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(),