summaryrefslogtreecommitdiffstats
path: root/web/play/src
diff options
context:
space:
mode:
Diffstat (limited to 'web/play/src')
-rw-r--r--web/play/src/slots.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/play/src/slots.ts b/web/play/src/slots.ts
index cfc9070..c8af52a 100644
--- a/web/play/src/slots.ts
+++ b/web/play/src/slots.ts
@@ -68,6 +68,7 @@ export function renderSlots(
68 const tile = node("div", "tile", symbol); 68 const tile = node("div", "tile", symbol);
69 tile.classList.add(`sym-${symbol}`); 69 tile.classList.add(`sym-${symbol}`);
70 if (active) tile.classList.add("spinning"); 70 if (active) tile.classList.add("spinning");
71 if (!active && flat.length === 0) tile.classList.add("placeholder");
71 if (!active && (view.win_cells ?? []).includes(index)) tile.classList.add("win"); 72 if (!active && (view.win_cells ?? []).includes(index)) tile.classList.add("win");
72 tiles.push(tile); 73 tiles.push(tile);
73 reel.append(tile); 74 reel.append(tile);