fix:prevent stale countdown IPC updates from repainting overlay

This commit is contained in:
Galactic99
2026-04-16 19:22:57 +05:30
parent 6b08a0a72a
commit ea68e4cfc3
5 changed files with 47 additions and 24 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ export function CountdownOverlay() {
return (
<div className="w-screen h-screen bg-transparent flex items-center justify-center pointer-events-none select-none">
{value === null ? null : (
<div className="text-white/90 text-[120px] font-bold leading-none tabular-nums">
<div
className="text-white/90 text-[120px] font-bold leading-none tabular-nums"
style={{ textShadow: "0 4px 24px rgba(0, 0, 0, 0.65)" }}
>
{value}
</div>
)}