add:快捷键面板

This commit is contained in:
2026-05-01 17:39:27 +08:00
parent 6c7c76958f
commit a33a399989
2 changed files with 9 additions and 22 deletions
+2 -2
View File
@@ -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;
}