improve:主题切换
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user