messagesoverlay - Refresh display if autoclear removed a message

master
Martin Boonk 2024-03-30 09:03:07 +01:00
parent 085983b2ae
commit 1ddbb79913
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ let updateClearingTimeout = ()=>{
LOG("Set new clearing timeout"); LOG("Set new clearing timeout");
clearingTimeout = setTimeout(()=>{ clearingTimeout = setTimeout(()=>{
LOG("setNewTimeout"); LOG("setNewTimeout");
eventQueue.pop(); drawMessage(ovr, eventQueue.pop());
if (eventQueue.length > 0){ if (eventQueue.length > 0){
LOG("still got elements"); LOG("still got elements");
updateClearingTimeout(); updateClearingTimeout();