diff --git a/src/components/ScrollerBase/ScrollerBase.svelte b/src/components/ScrollerBase/ScrollerBase.svelte index 21c2d9f9..13a8c112 100644 --- a/src/components/ScrollerBase/ScrollerBase.svelte +++ b/src/components/ScrollerBase/ScrollerBase.svelte @@ -133,7 +133,7 @@ let wh = $state(0); let fixed = $state(false); let offset_top = 0; - let width = 1; + let width = $state(1); let top_px = $derived(Math.round(top * wh)); let bottom_px = $derived(Math.round(bottom * wh));