From 30aa1e778df465978c68ab1cd939a87ea9573dbe Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Sun, 16 Aug 2026 01:06:18 -0400 Subject: [PATCH] Tap-to-inspect: selecting a card floats an enlarged, readable copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Selecting any card in hand now also shows a 1.55x (1.3x on phones) enlarged rendering floating at the corner — full card text readable without pinch-zooming — with a dismiss button, auto-reset when the selection changes, and the board left clear for choosing a target. Co-Authored-By: Claude Fable 5 --- packages/web/src/App.svelte | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/packages/web/src/App.svelte b/packages/web/src/App.svelte index 70c4f4e..38b1718 100644 --- a/packages/web/src/App.svelte +++ b/packages/web/src/App.svelte @@ -15,6 +15,12 @@ let claimPhrase = $state(""); let showHelp = $state(false); let hotseatNames = $state(""); + /** Tap-to-inspect: hide the enlarged card for the current selection. */ + let inspectorHidden = $state(false); + $effect(() => { + void selectedCard?.instanceId; + inspectorHidden = false; + }); let drawCount = $state(2); let withExpansion = $state(true); /** Your creature selected for movement/attacks. */ @@ -772,6 +778,15 @@ {/if} + {#if selectedCard && !inspectorHidden} + + {/if} +
{#each view.yourHand as card (card.instanceId)}