mirror of
https://github.com/gedoor/legado.git
synced 2025-01-09 04:17:45 +08:00
优化
This commit is contained in:
parent
dc8e7a00ca
commit
4cf363997b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user