From c0f4711589473c2bf8f8412da8757bf0e8f9d364 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Tue, 26 May 2026 16:42:56 -0400 Subject: [PATCH] =?UTF-8?q?my=5Fsea=20AUTO=20DRAW:=20flash=20FLIP=20btn=20?= =?UTF-8?q?per-card=20for=20monodecks=20too=20=E2=80=94=20fall=20back=20to?= =?UTF-8?q?=20--single=20stack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-spec 2026-05-26 PM: "AUTO DRAW on my_sea.html, when featuring gravity and levity decks, displays the FLIP .btn-reveal atop each card just before the next dealt card appears in the next card slot. Can you update the monodeck AUTO DRAW animation sequence to feature this FLIP .btn-reveal every time the AUTO DRAW runs here too?" `placeNext` (inside `_autoDraw` in the my_sea.html inline IIFE) was querying `.sea-deck-stack--levity` / `.sea-deck-stack--gravity` only — polarized decks (Earthman) render those stacks + flash their FLIP btn between dealt cards via `_showOk(stack)`. Monodecks (Minchiate, RWS) render only `.sea-deck-stack--single`, so the polarity-keyed query returned null and the per-card FLIP-flash never fired. One-line fix: `|| picker.querySelector(".sea-deck-stack--single")` fallback after the polarity-keyed query. `_showOk` + `_hideOk` already operate uniformly on whatever stack is passed in (the `.sea-stack-ok` btn renders identically in both template branches), so no other changes needed. Code architected by Disco DeDisco Git commit message Co-Authored-By: Claude Sonnet 4.6 --- src/templates/apps/gameboard/my_sea.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/templates/apps/gameboard/my_sea.html b/src/templates/apps/gameboard/my_sea.html index a4cf43e..5183385 100644 --- a/src/templates/apps/gameboard/my_sea.html +++ b/src/templates/apps/gameboard/my_sea.html @@ -663,9 +663,16 @@ return; } var e = autoEntries[idx++]; + // Polarized decks (Earthman): polarity-keyed stack + // exists + flashes its FLIP btn per-card. Monodecks + // (Minchiate, RWS): the template renders only `.sea- + // deck-stack--single`, so the polarity-keyed query + // returns null — fall back to the single stack so + // the per-card FLIP-flash UX is the same regardless + // of polarization. User-spec 2026-05-26 PM. var stack = picker.querySelector( '.sea-deck-stack--' + (e.isLevity ? 'levity' : 'gravity') - ); + ) || picker.querySelector('.sea-deck-stack--single'); if (stack) _showOk(stack); setTimeout(function () { // Route thru SeaDeal.register (not the inline