mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user