diff options
Diffstat (limited to 'web/src/lib/ui/cards/LootCard.svelte')
| -rw-r--r-- | web/src/lib/ui/cards/LootCard.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/lib/ui/cards/LootCard.svelte b/web/src/lib/ui/cards/LootCard.svelte index 49ddb2b..3d5dc86 100644 --- a/web/src/lib/ui/cards/LootCard.svelte +++ b/web/src/lib/ui/cards/LootCard.svelte @@ -24,8 +24,8 @@ scale?: number; } = $props(); - const width = 39 * scale; - const height = 58.6666 * scale; + const width = $derived(39 * scale); + const height = $derived(58.6666 * scale); const value = $derived(revealed ? lootValue(card, characterCount) : null); const special = $derived( |
