[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:
Frans de Jonge
2019-03-08 21:02:25 +01:00
committed by GitHub
parent 2cbec1b54e
commit 5ccc3ec352
3 changed files with 21 additions and 4 deletions

View File

@@ -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},