Reload root on renderDefault

This commit is contained in:
Gabriel Tofvesson 2024-10-12 20:40:02 +02:00
parent f79b615ff9
commit f7754f4609

View File

@ -220,6 +220,7 @@ end
local function renderDefault(state, rootElement)
rootElement:setParent(state.monitor)
rootElement:_reload()
return function()
local event = {os.pullEvent()}
local handled = rootElement:handleEvent(event)