diff --git a/src/widgets/ComparisonView/ui/Character/Character.svelte b/src/widgets/ComparisonView/ui/Character/Character.svelte index 175a5f2..9ae91a6 100644 --- a/src/widgets/ComparisonView/ui/Character/Character.svelte +++ b/src/widgets/ComparisonView/ui/Character/Character.svelte @@ -34,7 +34,6 @@ const fontB = $derived(comparisonStore.fontB); let slot = $state<0 | 1>(0); let slotFonts = $state<[string, string]>(['', '']); -const displayChar = $derived(char === ' ' ? ' ' : char); const targetFont = $derived(isPast ? fontA?.name ?? '' : fontB?.name ?? ''); $effect(() => { @@ -63,7 +62,7 @@ $effect(() => { style:position={slot === s ? 'relative' : 'absolute'} aria-hidden={slot !== s ? true : undefined} > - {displayChar} + {char} {/each}