Compare commits
1
Commits
v0.4.0
...
d77606c6f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d77606c6f8 |
No files matched your search
@@ -47,7 +47,9 @@ live.doc_settings = {
|
||||
}
|
||||
package.loaded["apps/reader/readerui"] = { instance = live }
|
||||
package.loaded["reader.session"] = {
|
||||
_snapshot = { identity = { source_id = "local", stable_id = "open-book", chapter_idx = 2 } },
|
||||
current = function()
|
||||
return { identity = { source_id = "local", stable_id = "open-book", chapter_idx = 2 } }
|
||||
end,
|
||||
}
|
||||
|
||||
local wechat_notes = require("moonsource_weread.notes")
|
||||
|
||||
@@ -438,10 +438,6 @@ do
|
||||
source_id = "authoritative", stable_id = "book.epub", chapter_idx = 3,
|
||||
source = authoritative,
|
||||
}), 0)
|
||||
Assert.eq(SessionNote.applyLocal({ doc_settings = ui3.doc_settings }, {
|
||||
source_id = "authoritative", stable_id = "book.epub", chapter_idx = 2,
|
||||
source = authoritative,
|
||||
}), 0, "没有打开文档时不应用")
|
||||
end
|
||||
|
||||
-- 上传窗口内用户又划了线:不能用上传时那份快照 + 旧修订号覆盖回去。
|
||||
|
||||
Reference in new issue
Block a user