🎨 Change the statusbar display timeout to 12s

This commit is contained in:
Daniel 2024-11-21 11:04:30 +08:00
parent 89f1887c3b
commit 2ce5ba72ee
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -408,7 +408,7 @@ export const progressStatus = (data: IWebSocketData) => {
statusElement.style.bottom = "0";
statusTimeout = window.setTimeout(() => {
statusElement.style.bottom = "";
}, 7000);
}, 12000);
} else {
const msgElement = statusElement.querySelector(".status__msg");
if (msgElement) {
@ -416,7 +416,7 @@ export const progressStatus = (data: IWebSocketData) => {
msgElement.innerHTML = data.msg;
statusTimeout = window.setTimeout(() => {
msgElement.innerHTML = "";
}, 7000);
}, 12000);
}
}
};