[UX] Gesture manager: allow folder shortcuts as action in Reader (#4759)
Note that `self.ui:onClose()` properly closes open documents. There might be similar pieces of code around that don't do that. Fixes #4755.
This commit is contained in:
1 parent
2cbec1b54e
commit
5ccc3ec352
3 files changed
+21
-4
No files matched your search
@@ -315,7 +315,7 @@ function ReaderGesture:buildMenu(ges, default)
|
||||
{"clear_location_history", not self.is_docless, true},
|
||||
|
||||
{"folder_up", self.is_docless},
|
||||
{"folder_shortcuts", self.is_docless, true},
|
||||
{"folder_shortcuts", true, true},
|
||||
|
||||
{ "toc", not self.is_docless},
|
||||
{"bookmarks", not self.is_docless},
|
||||
|
||||
Reference in new issue
Block a user