improve:主题切换

This commit is contained in:
2025-10-05 09:33:25 +08:00
parent c32eaed534
commit cc054aeb75
5 changed files with 95 additions and 19 deletions
+5 -1
View File
@@ -499,7 +499,7 @@ namespace Ink_Canvas
{
try
{
// 刷新所有打开的计时器窗口
// 刷新所有打开的窗口
foreach (Window window in Application.Current.Windows)
{
if (window is CountdownTimerWindow timerWindow)
@@ -510,6 +510,10 @@ namespace Ink_Canvas
{
randWindow.RefreshTheme();
}
else if (window is OperatingGuideWindow operatingGuideWindow)
{
operatingGuideWindow.RefreshTheme();
}
}
}
catch (Exception)