fix: replace frozen brushes at runtime using new SolidColorBrush instances

This commit is contained in:
SuperDooper
2026-05-08 14:26:12 +02:00
parent 2d478be0ad
commit 4945097e8b
+1 -1
View File
@@ -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);
}
}