mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fullscreen refactor (#9237)
Commonize fullscreen code across different devices. Add fullscreen toggle on SDL desktop targets. Expose the toggle to the dispatcher and map it to F11. Hide touchmenu when resizing.
This commit is contained in:
@@ -407,6 +407,10 @@ function ReaderMenu:onCloseReaderMenu()
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderMenu:onSetDimensions(dimen)
|
||||
self:onCloseReaderMenu()
|
||||
end
|
||||
|
||||
function ReaderMenu:onCloseDocument()
|
||||
if Device:supportsScreensaver() then
|
||||
-- Remove the item we added (which cleans up references to document
|
||||
|
||||
Reference in New Issue
Block a user