From f7754f46097a3d52b59390b929dbab2f27978672 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 12 Oct 2024 20:40:02 +0200 Subject: [PATCH] Reload root on renderDefault --- itemcontroller.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/itemcontroller.lua b/itemcontroller.lua index 16c6bb7..92239f6 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -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)