2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

don't treat bookmark cycling as random browsing

refer to discussion in #439, in short, don't add
jump target to jump history when using bookmark
jumping feature
This commit is contained in:
Qingping Hou 2012-10-14 19:34:55 -04:00
parent cfbe9456ba
commit 857cd74ad3
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ function CREReader:adjustCreReaderCommands()
else
bm = self:nextBookMarkedPage()
end
if bm then self:goto(bm.page, nil, "xpointer") end
if bm then self:goto(bm.page, true, "xpointer") end
end)
self.commands:add(KEY_BACK, nil, "Back",
"go backward in jump history",

View File

@ -2499,7 +2499,7 @@ function UniReader:addAllCommands()
else
bm = self:nextBookMarkedPage()
end
if bm then self:goto(bm.page) end
if bm then self:goto(bm.page, true) end
end)
self.commands:add(KEY_B,MOD_SHIFT,"B",
"show jump history",