|
|
|
@ -154,6 +154,12 @@ function ReaderRolling:registerKeyEvents()
|
|
|
|
|
event = "GotoPrevChapter",
|
|
|
|
|
args = -1,
|
|
|
|
|
}
|
|
|
|
|
--[[ upcoming
|
|
|
|
|
self.key_events.PrevDocument = {
|
|
|
|
|
{ "ScreenKB", "Back" },
|
|
|
|
|
event = "PrevDocument",
|
|
|
|
|
args = 0,
|
|
|
|
|
} ]]
|
|
|
|
|
elseif Device:hasDPad() then
|
|
|
|
|
self.key_events.MoveUp = {
|
|
|
|
|
{ "Up" },
|
|
|
|
@ -376,6 +382,10 @@ function ReaderRolling:onCloseDocument()
|
|
|
|
|
-- if namespaces ~= "" then logger.info("cre unknown namespaces: ", namespaces) end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function ReaderRolling:onPrevDocument()
|
|
|
|
|
return self.ui:onOpenLastDoc()
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function ReaderRolling:onCheckDomStyleCoherence()
|
|
|
|
|
if self.ui.document and self.ui.document:isBuiltDomStale() then
|
|
|
|
|
local has_bookmarks_warn_txt = ""
|
|
|
|
|