From a33a39998983db4d8ad5ddd06cdfebc8c4f66b42 Mon Sep 17 00:00:00 2001
From: CJKmkp <2564608840@qq.com>
Date: Fri, 1 May 2026 17:39:27 +0800
Subject: [PATCH] =?UTF-8?q?add:=E5=BF=AB=E6=8D=B7=E9=94=AE=E9=9D=A2?=
=?UTF-8?q?=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Ink Canvas/Windows/HotkeyItem.xaml | 27 +++++++--------------------
Ink Canvas/Windows/HotkeyItem.xaml.cs | 4 ++--
2 files changed, 9 insertions(+), 22 deletions(-)
diff --git a/Ink Canvas/Windows/HotkeyItem.xaml b/Ink Canvas/Windows/HotkeyItem.xaml
index c3725b7f..89d8d54e 100644
--- a/Ink Canvas/Windows/HotkeyItem.xaml
+++ b/Ink Canvas/Windows/HotkeyItem.xaml
@@ -15,25 +15,12 @@
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/Ink Canvas/Windows/HotkeyItem.xaml.cs b/Ink Canvas/Windows/HotkeyItem.xaml.cs
index 3724e4be..2dea883c 100644
--- a/Ink Canvas/Windows/HotkeyItem.xaml.cs
+++ b/Ink Canvas/Windows/HotkeyItem.xaml.cs
@@ -79,7 +79,7 @@ namespace Ink_Canvas.Windows
private void StartHotkeyCapture()
{
- BtnSetHotkey.Content = "请按键...";
+ CurrentHotkeyTextBlock.Text = "请按键...";
Focus();
KeyDown += HotkeyItem_KeyDown;
KeyUp += HotkeyItem_KeyUp;
@@ -87,7 +87,7 @@ namespace Ink_Canvas.Windows
private void StopHotkeyCapture()
{
- BtnSetHotkey.Content = "设置";
+ UpdateHotkeyDisplay();
KeyDown -= HotkeyItem_KeyDown;
KeyUp -= HotkeyItem_KeyUp;
}