Dispatcher: use sections (#6364)

use `device` `filemanager` `rolling` and `paging` sections to organize the
dispatcher menu and allow the user to know when the action will apply

add events from ReaderGesture

allow profiles in FM
This commit is contained in:
yparitcher
2020-07-14 17:39:03 -04:00
committed by GitHub
parent 4e5def4282
commit bda44a99ef
5 changed files with 409 additions and 172 deletions

View File

@@ -321,6 +321,7 @@ function ReaderFont:addToMainMenu(menu_items)
end
function ReaderFont:gesToFontSize(ges)
if type(ges) ~= "table" then return ges end
if ges.distance == nil then
ges.distance = 1
end