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:
co-authored by
Claude Sonnet 4.6
parent
bf3b128a14
commit
fa338e9e11
@@ -586,14 +586,14 @@ function showAnnouncement({ codigo, destino, paciente, color }) {
|
||||
bar.style.transition = 'none';
|
||||
bar.style.width = '100%';
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
bar.style.transition = 'width 2s linear';
|
||||
bar.style.transition = 'width 5s linear';
|
||||
bar.style.width = '0%';
|
||||
}));
|
||||
|
||||
setTimeout(() => {
|
||||
ov.classList.remove('visible');
|
||||
setTimeout(processQueue, 370);
|
||||
}, 2300);
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
/* ── State ── */
|
||||
|
||||
Reference in New Issue
Block a user