This commit is contained in:
Horis 2024-04-15 13:24:50 +08:00
parent dc8e7a00ca
commit 4cf363997b
2 changed files with 3 additions and 4 deletions

View File

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

View File

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