mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
sdl: ensure dialogs are displayed after window change events (#10929)
Fix #10927 Co-authored-by: NiLuJe <ninuje@gmail.com>
This commit is contained in:
@@ -272,6 +272,9 @@ function Device:init()
|
||||
FileManager.instance:reinit(FileManager.instance.path,
|
||||
FileManager.instance.focused_file)
|
||||
end
|
||||
|
||||
-- make sure dialogs are displayed
|
||||
UIManager:setDirty("all", "ui")
|
||||
elseif ev.code == SDL_WINDOWEVENT_MOVED then
|
||||
self.window.left = ev.value.data1
|
||||
self.window.top = ev.value.data2
|
||||
|
||||
Reference in New Issue
Block a user