diff --git a/src/lib/components/StyleManagerDialog.svelte b/src/lib/components/StyleManagerDialog.svelte index 2eff47d..90b736b 100644 --- a/src/lib/components/StyleManagerDialog.svelte +++ b/src/lib/components/StyleManagerDialog.svelte @@ -136,8 +136,6 @@ return formatOrdinal(def?.startAt ?? 1, type.numFormat) + type.numSuffix; } - const PREVIEW_LEVELS = 3; - const BORDER_WIDTHS = ['none', '0.5', '0.75', '1', '1.5', '2.25']; // The three border controls; the inner ones fall back to the shared innerBorder. type BorderKey = 'border' | 'innerBorderH' | 'innerBorderV'; @@ -527,9 +525,9 @@
{#if isList} - +
- {#each Array(PREVIEW_LEVELS) as _, d} + {#each lStyle.levels as _, d}
{levelMarker(lStyle, d + 1)} @@ -855,7 +853,11 @@