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