mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] ReaderGesture: add option - show history
This commit is contained in:
@@ -69,6 +69,7 @@ function ReaderGesture:buildMenu(ges, default)
|
||||
{_("Back to previous location"), "previous_location", not self.is_docless},
|
||||
{_("Folder up"), "folder_up", self.is_docless},
|
||||
{_("Bookmarks"), "bookmarks", not self.is_docless},
|
||||
{_("History"), "history", true},
|
||||
{_("Table of contents"), "toc", not self.is_docless},
|
||||
{_("Reading progress"), "reading_progress", ReaderGesture.getReaderProgress ~= nil},
|
||||
{_("Full screen refresh"), "full_refresh", true},
|
||||
@@ -195,6 +196,8 @@ function ReaderGesture:gestureAction(action)
|
||||
UIManager:setDirty("all", "full")
|
||||
elseif action == "bookmarks" then
|
||||
self.ui:handleEvent(Event:new("ShowBookmark"))
|
||||
elseif action == "history" then
|
||||
self.ui:handleEvent(Event:new("ShowHist"))
|
||||
elseif action == "page_jmp_fwd_10" then
|
||||
self:pageUpdate(10)
|
||||
elseif action == "page_jmp_fwd_1" then
|
||||
|
||||
Reference in New Issue
Block a user