mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix widget closing
This commit is contained in:
@@ -579,6 +579,10 @@ function Menu:init()
|
||||
end
|
||||
end
|
||||
|
||||
function Menu:onCloseWidget()
|
||||
UIManager:setDirty(nil, "partial", self.dimen)
|
||||
end
|
||||
|
||||
function Menu:updateItems(select_number)
|
||||
local old_dimen = self.dimen and self.dimen:copy()
|
||||
-- self.layout must be updated for focusmanager
|
||||
|
||||
Reference in New Issue
Block a user