mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
829ad4ff3f
commit
95e0d64061
@ -11,10 +11,11 @@
|
||||
* 正文出现缺字漏字、内容缺失、排版错乱等情况,有可能是净化规则或简繁转换出现问题。
|
||||
* 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源!
|
||||
|
||||
**2022/01/09**
|
||||
**2022/01/10**
|
||||
|
||||
* 继续修复txt目录识别,现在识别启用的规则,再识别禁用的规则,按目录匹配数由多到少识别,如果有章节大于5万字就尝试下一个目录规则,如果没有任何目录匹配或每章都小于5万字则自动分段
|
||||
* 修复全局搜索跳转bug
|
||||
* 从外部打开的文件如果书架上已有会对比更新时间,如果打开的文件更新会替换原文件
|
||||
|
||||
**2022/01/06**
|
||||
|
||||
|
@ -93,10 +93,12 @@ object ReadBook : CoroutineScope by MainScope() {
|
||||
if (durChapterIndex != progress.durChapterIndex
|
||||
|| durChapterPos != progress.durChapterPos
|
||||
) {
|
||||
durChapterIndex = progress.durChapterIndex
|
||||
durChapterPos = progress.durChapterPos
|
||||
clearTextChapter()
|
||||
loadContent(resetPageOffset = true)
|
||||
if (progress.durChapterIndex > chapterSize) {
|
||||
durChapterIndex = progress.durChapterIndex
|
||||
durChapterPos = progress.durChapterPos
|
||||
clearTextChapter()
|
||||
loadContent(resetPageOffset = true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user