mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
**2023/05/12**
|
||||
|
||||
* web: 修复进度同步和快捷键设置;添加间距设置;优化超长章节列表渲染
|
||||
* web: 修复进度同步和快捷键设置;添加间距设置;优化超长章节列表渲染;同步触发:关闭浏览器,切换应用,切换tab,返回
|
||||
* 替换规则添加排除范围字段
|
||||
* 迁移到Androidx Media3
|
||||
* 其它一些优化
|
||||
|
||||
@@ -324,7 +324,7 @@ const saveReadingBookProgressToBrowser = (index, pos) => {
|
||||
|
||||
// 进度同步
|
||||
// 返回同步 同步请求会在获取书架前完成
|
||||
// 刷新 关闭页面 切换tab 返回桌面 等操作 https://developer.mozilla.org/zh-CN/docs/Web/API/Document/visibilitychange_event
|
||||
// 关闭页面 切换tab 返回桌面 等操作 https://developer.mozilla.org/zh-CN/docs/Web/API/Document/visibilitychange_event
|
||||
const onVisibilityChange = () => {
|
||||
if (!bookProgress.value) return;
|
||||
if (document.visibilityState == 'hidden') {
|
||||
|
||||
Reference in New Issue
Block a user