优化
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user