This commit is contained in:
NotSoToothless
2026-06-14 22:58:26 -07:00
committed by GitHub
parent 7b22e70714
commit a70e7e0d74
2 changed files with 14 additions and 10 deletions
+4 -2
View File
@@ -769,8 +769,10 @@ class ReplayCanvas {
this._tkLoseFill.style.width = (100 - wPct).toFixed(1) + '%';
this._tkWinVal.textContent = w;
this._tkLoseVal.textContent = l;
// Game over (loser bled out) → glow the winning side.
this.ticketsBar.classList.toggle('rc-tk-finished', l <= 0);
// Game over (loser bled out) → glow the winning side (bar, number, and
// the winning team panel). Class goes on the shared container so the CSS
// can reach both the bar and the side panel.
this.container.classList.toggle('rc-game-over', l <= 0);
}
async _loadEntityIcons() {