Optimize Post tab idle updates

This commit is contained in:
2026-09-05 19:07:49 +02:00
parent bebea20896
commit 1b0f1618a8
+5 -1
View File
@@ -13,7 +13,11 @@ function aux.handle.INIT_UI()
frame = CreateFrame('Frame', nil, aux.frame)
frame:SetAllPoints()
frame:SetScript('OnUpdate', on_update)
frame:SetScript('OnUpdate', function()
if refresh then
on_update()
end
end)
frame:Hide()
frame.content = CreateFrame('Frame', nil, frame)