chore: change dprint formatting

This commit is contained in:
Ilia Mashkov
2026-01-30 01:09:39 +03:00
parent f07b699926
commit 75ea5ab382
11 changed files with 18 additions and 36 deletions

View File

@@ -138,20 +138,15 @@ $effect(() => {
});
</script>
{#snippet renderLine(line: LineData, lineIndex: number)}
{#snippet renderLine(line: LineData, index: number)}
<div
bind:this={lineElements[lineIndex]}
bind:this={lineElements[index]}
class="relative flex w-full justify-center items-center whitespace-nowrap"
style:height={`${heightControl.value}em`}
style:line-height={`${heightControl.value}em`}
>
{#each line.text.split('') as char, charIndex}
{@const { proximity, isPast } = charComparison.getCharState(
charIndex,
sliderPos,
lineElements[lineIndex],
container,
),}
{@const { proximity, isPast } = charComparison.getCharState(charIndex, sliderPos, lineElements[index], container)}
<!--
Single Character Span
- Font Family switches based on `isPast`