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:
1 parent
6fdb83017b
commit
b7a27a3db3
12 files changed
+150
-88
No files matched your search
@@ -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