Queue dummy event on refresh
This commit is contained in:
parent
e1fa432b64
commit
8ecf32dae9
@ -203,6 +203,7 @@ local function updatePageRender(state, pages)
|
||||
|
||||
state.monitor.clear()
|
||||
state._pageRender = pages[state.currentPage](state)
|
||||
os.queueEvent("dummy_event")
|
||||
else
|
||||
state.changingPage = false
|
||||
end
|
||||
@ -305,7 +306,6 @@ function CONTROLLER_STATE:itemTransaction(transact)
|
||||
unlock()
|
||||
end
|
||||
|
||||
os.queueEvent("dummy_event")
|
||||
while not CONTROLLER_STATE.exit do
|
||||
updatePageRender(CONTROLLER_STATE, PAGES)
|
||||
CONTROLLER_STATE._pageRender()
|
||||
|
Loading…
x
Reference in New Issue
Block a user