mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ReaderGesture: cleanup (#6292)
convert all gesture actions to use events for better modularity add network event handlers and device event handlers
This commit is contained in:
@@ -322,6 +322,10 @@ function FileChooser:changeToPath(path, focused_path)
|
||||
self:onPathChanged(path)
|
||||
end
|
||||
|
||||
function FileChooser:onFolderUp()
|
||||
self:changeToPath(string.format("%s/..", self.path))
|
||||
end
|
||||
|
||||
function FileChooser:changePageToPath(path)
|
||||
if not path then return end
|
||||
for num, item in ipairs(self.item_table) do
|
||||
|
||||
Reference in New Issue
Block a user