This commit is contained in:
Horis committed 2024-04-15 13:24:50 +08:00
1 parent 229dcf4aa2
commit 6de2fc5c1e
2 files changed
+3 -4

No files matched your search

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