feat: overlay de turno llamado visible 5 s (antes 2.3 s)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-16 20:21:19 -05:00
co-authored by Claude Sonnet 4.6
parent bf3b128a14
commit fa338e9e11
+2 -2
View File
@@ -586,14 +586,14 @@ function showAnnouncement({ codigo, destino, paciente, color }) {
bar.style.transition = 'none'; bar.style.transition = 'none';
bar.style.width = '100%'; bar.style.width = '100%';
requestAnimationFrame(() => requestAnimationFrame(() => { requestAnimationFrame(() => requestAnimationFrame(() => {
bar.style.transition = 'width 2s linear'; bar.style.transition = 'width 5s linear';
bar.style.width = '0%'; bar.style.width = '0%';
})); }));
setTimeout(() => { setTimeout(() => {
ov.classList.remove('visible'); ov.classList.remove('visible');
setTimeout(processQueue, 370); setTimeout(processQueue, 370);
}, 2300); }, 5000);
} }
/* ── State ── */ /* ── State ── */