feat: use typographySettingsStore everywhere for the typography settings
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
FontVirtualList,
|
||||
type UnifiedFont,
|
||||
} from '$entities/Font';
|
||||
import { typographySettingsStore } from '$features/SetupFont';
|
||||
import {
|
||||
Button,
|
||||
Label,
|
||||
@@ -18,7 +19,7 @@ import { crossfade } from 'svelte/transition';
|
||||
import { comparisonStore } from '../../model';
|
||||
|
||||
const side = $derived(comparisonStore.side);
|
||||
const typography = $derived(comparisonStore.typography);
|
||||
const typography = $derived(typographySettingsStore);
|
||||
|
||||
let prevIndexA: number | null = null;
|
||||
let prevIndexB: number | null = null;
|
||||
|
||||
Reference in New Issue
Block a user