fix sizing

This commit is contained in:
Dylan Pizzo 2025-01-08 19:14:01 -08:00
parent 4d318d20ee
commit 055e42ecf7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import {
const expansionIcon = "";
const author = "Dylan";
const sampleCard = {
const _sampleCard = {
orientation: "card",
title: "Sample",
description: "",

View File

@ -305,7 +305,7 @@ const drawStandardCard = async (
context.font = `${size}pt DominionText`;
while (
(await measureDominionText(context, parse(card.description), 1000))
.height > 650
.height > 600
) {
size -= 1;
context.font = `${size}pt DominionText`;