diff --git a/Ink Canvas/MainWindow_cs/MW_AutoFold.cs b/Ink Canvas/MainWindow_cs/MW_AutoFold.cs index d17e5745..21725b1d 100644 --- a/Ink Canvas/MainWindow_cs/MW_AutoFold.cs +++ b/Ink Canvas/MainWindow_cs/MW_AutoFold.cs @@ -290,7 +290,7 @@ namespace Ink_Canvas ViewboxFloatingBar.UpdateLayout(); // 等待一小段时间让布局完全更新 - await Task.Delay(50); + Task.Delay(50); // 再次强制更新布局 ViewboxFloatingBar.UpdateLayout(); diff --git a/Ink Canvas/Windows/CountdownTimerWindow.xaml.cs b/Ink Canvas/Windows/CountdownTimerWindow.xaml.cs index 03e38cc6..ce679ebb 100644 --- a/Ink Canvas/Windows/CountdownTimerWindow.xaml.cs +++ b/Ink Canvas/Windows/CountdownTimerWindow.xaml.cs @@ -207,12 +207,12 @@ namespace Ink_Canvas if (WindowState == WindowState.Normal) { WindowState = WindowState.Maximized; - FontIconFullscreen.Glyph = ""; + FontIconFullscreen.Text = ""; } else { WindowState = WindowState.Normal; - FontIconFullscreen.Glyph = ""; + FontIconFullscreen.Text = ""; } } diff --git a/Ink Canvas/Windows/OperatingGuideWindow.xaml b/Ink Canvas/Windows/OperatingGuideWindow.xaml index 8d706606..d8f84c51 100644 --- a/Ink Canvas/Windows/OperatingGuideWindow.xaml +++ b/Ink Canvas/Windows/OperatingGuideWindow.xaml @@ -80,7 +80,7 @@ - + - + diff --git a/Ink Canvas/Windows/OperatingGuideWindow.xaml.cs b/Ink Canvas/Windows/OperatingGuideWindow.xaml.cs index 68db15de..0da22c2e 100644 --- a/Ink Canvas/Windows/OperatingGuideWindow.xaml.cs +++ b/Ink Canvas/Windows/OperatingGuideWindow.xaml.cs @@ -30,12 +30,12 @@ namespace Ink_Canvas if (WindowState == WindowState.Normal) { WindowState = WindowState.Maximized; - FontIconFullscreen.Glyph = ""; + FontIconFullscreen.Text = ""; } else { WindowState = WindowState.Normal; - FontIconFullscreen.Glyph = ""; + FontIconFullscreen.Text = ""; } }