From 3614b6b46e2d50269fa5160b1600809f3cd3f083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Epif=C3=A2nio=20Francisco?= Date: Tue, 10 Jun 2025 18:50:23 +0100 Subject: [PATCH] fix: absoluteStrokeWidth not resetting with Reset button (#3261) - Fix Switch component to properly handle v-model binding - Add absoluteStrokeWidth to customizingActive computed property - Ensure absoluteStrokeWidth resets correctly in both Home and Sidebar customizers Resolves issue where absoluteStrokeWidth toggle remained enabled after clicking Reset button, causing confusion with bold icons. Fixes #2984 Co-authored-by: Eric Fennis --- docs/.vitepress/theme/components/base/Switch.vue | 15 +++++++++++---- .../theme/components/home/HomeIconCustomizer.vue | 1 + .../components/icons/SidebarIconCustomizer.vue | 8 ++++---- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/.vitepress/theme/components/base/Switch.vue b/docs/.vitepress/theme/components/base/Switch.vue index c327fcf9a..7902ef396 100644 --- a/docs/.vitepress/theme/components/base/Switch.vue +++ b/docs/.vitepress/theme/components/base/Switch.vue @@ -1,15 +1,22 @@