|
|
@ -81,6 +81,13 @@ function SetDefaults:init()
|
|
|
|
local menu_container = CenterContainer:new{
|
|
|
|
local menu_container = CenterContainer:new{
|
|
|
|
dimen = Screen:getSize(),
|
|
|
|
dimen = Screen:getSize(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- FIXME:
|
|
|
|
|
|
|
|
-- in this use case (an input dialog is closed and the menu container is opened
|
|
|
|
|
|
|
|
-- immediately) we need to set the full screen dirty because otherwise only
|
|
|
|
|
|
|
|
-- the input dialog part of the screen is refreshed.
|
|
|
|
|
|
|
|
menu_container.onShow = function()
|
|
|
|
|
|
|
|
UIManager:setDirty(nil, "partial")
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
self.defaults_menu = Menu:new{
|
|
|
|
self.defaults_menu = Menu:new{
|
|
|
|
width = Screen:getWidth()-15,
|
|
|
|
width = Screen:getWidth()-15,
|
|
|
|