瀏覽代碼

Increase webtoon setting change page refresh range (closes #3088)

arkon 4 年之前
父節點
當前提交
8383f4fb7b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt

+ 2 - 2
app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt

@@ -290,8 +290,8 @@ class WebtoonViewer(val activity: ReaderActivity, val isContinuous: Boolean = tr
     private fun refreshAdapter() {
         val position = layoutManager.findLastEndVisibleItemPosition()
         adapter.notifyItemRangeChanged(
-            max(0, position - 2),
-            min(position + 2, adapter.itemCount - 1)
+            max(0, position - 3),
+            min(position + 3, adapter.itemCount - 1)
         )
     }
 }