From 12ec527dcd7b13976b7efc746d8e8bebee5c65e3 Mon Sep 17 00:00:00 2001
From: CJKmkp <2564608840@qq.com>
Date: Sat, 6 Sep 2025 14:19:33 +0800
Subject: [PATCH] =?UTF-8?q?improve:=E6=B5=AE=E5=8A=A8=E6=A0=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Ink Canvas/MainWindow_cs/MW_AutoFold.cs | 2 +-
Ink Canvas/Windows/CountdownTimerWindow.xaml.cs | 4 ++--
Ink Canvas/Windows/OperatingGuideWindow.xaml | 4 ++--
Ink Canvas/Windows/OperatingGuideWindow.xaml.cs | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
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 = "";
}
}