From 4945097e8b9fe1f29a7811cf272927ac13496bdc Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Fri, 8 May 2026 14:26:12 +0200 Subject: [PATCH] fix: replace frozen brushes at runtime using new SolidColorBrush instances --- windows/ThemeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/ThemeManager.cs b/windows/ThemeManager.cs index 991373b..37a38c4 100644 --- a/windows/ThemeManager.cs +++ b/windows/ThemeManager.cs @@ -72,6 +72,6 @@ public static class ThemeManager private static void Set(ResourceDictionary res, string key, Color color) { - if (res[key] is SolidColorBrush b) b.Color = color; + res[key] = new SolidColorBrush(color); } }