From 108983fa86a4b932a33c959d747884bf540b93ef Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Wed, 26 Aug 2026 07:04:20 +0000 Subject: [PATCH] fix: keep the style-manager selection across edits The cursor-follow effect read the sheet and the editor state, so every edit (sheet replaced + FORCE_PAGE_RECALC) re-ran it and reset all four tabs' selections to the cursor's style or the first entry. Untrack the body; only the dialog opening triggers it now. --- src/lib/components/StyleManagerDialog.svelte | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/lib/components/StyleManagerDialog.svelte b/src/lib/components/StyleManagerDialog.svelte index c9795d6..2eff47d 100644 --- a/src/lib/components/StyleManagerDialog.svelte +++ b/src/lib/components/StyleManagerDialog.svelte @@ -1,4 +1,5 @@