Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Apr 15, 2024
1 parent dc8e7a0 commit 4cf3639
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class BgTextConfigDialog : BaseDialogFragment(R.layout.dialog_read_bg_text) {
}
binding.swUnderline.setOnCheckedChangeListener { _, isChecked ->
underline = isChecked
postEvent(EventBus.UP_CONFIG, arrayListOf(9, 11))
postEvent(EventBus.UP_CONFIG, arrayListOf(6, 9, 11))
}
binding.tvTextColor.setOnClickListener {
ColorPickerDialog.newBuilder()
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -673,10 +673,9 @@ class ReadView(context: Context, attrs: AttributeSet) :

fun submitRenderTask() {
if (!AppConfig.optimizeRender) {
curPage.invalidateContentView()
} else {
curPage.submitRenderTask()
return
}
curPage.submitRenderTask()
}

fun isLongScreenShot(): Boolean {
Expand Down

0 comments on commit 4cf3639

Please sign in to comment.