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:
parent
cfbe9456ba
commit
857cd74ad3
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user