diff --git a/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte b/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte index a2ede04..0e43da1 100644 --- a/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte +++ b/src/features/DisplayFont/ui/FontSampler/FontSampler.svelte @@ -36,12 +36,7 @@ interface Props { letterSpacing?: number; } -let { - font, - text = $bindable(), - index = 0, - ...restProps -}: Props = $props(); +let { font, text = $bindable(), index = 0, ...restProps }: Props = $props(); const fontWeight = $derived(controlManager.weight); const fontSize = $derived(controlManager.renderedSize); @@ -66,9 +61,9 @@ const letterSpacing = $derived(controlManager.spacing); typeface_{String(index).padStart(3, '0')}
- +
{font.name} - +