chore: change dprint formatting
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user