mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
count FrameContainer padding into menu title bar size
This commit is contained in:
@@ -80,8 +80,8 @@ function ReaderMenu:onShowMenu()
|
||||
end
|
||||
|
||||
local menu_container = CenterContainer:new{
|
||||
main_menu,
|
||||
dimen = Screen:getSize(),
|
||||
main_menu,
|
||||
}
|
||||
main_menu.close_callback = function ()
|
||||
UIManager:close(menu_container)
|
||||
|
||||
Reference in New Issue
Block a user