Reload root on renderDefault
This commit is contained in:
parent
f79b615ff9
commit
f7754f4609
@ -220,6 +220,7 @@ end
|
|||||||
|
|
||||||
local function renderDefault(state, rootElement)
|
local function renderDefault(state, rootElement)
|
||||||
rootElement:setParent(state.monitor)
|
rootElement:setParent(state.monitor)
|
||||||
|
rootElement:_reload()
|
||||||
return function()
|
return function()
|
||||||
local event = {os.pullEvent()}
|
local event = {os.pullEvent()}
|
||||||
local handled = rootElement:handleEvent(event)
|
local handled = rootElement:handleEvent(event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user