From add92cfa7caa08b88752f5036bcd1012eeabf8d8 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue, 25 Feb 2025 16:14:50 +0800 Subject: [PATCH] Update desktop global hotkey setting --- .../Views/GlobalHotkeySettingWindow.axaml | 28 +-- .../Views/GlobalHotkeySettingWindow.axaml.cs | 214 +++++++++--------- 2 files changed, 125 insertions(+), 117 deletions(-) diff --git a/v2rayN/v2rayN.Desktop/Views/GlobalHotkeySettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/GlobalHotkeySettingWindow.axaml index 2dfdd0cc..6a16d523 100644 --- a/v2rayN/v2rayN.Desktop/Views/GlobalHotkeySettingWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/GlobalHotkeySettingWindow.axaml @@ -6,17 +6,17 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib" xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib" - Title="{x:Static resx:ResUI.menuSetting}" + Title="{x:Static resx:ResUI.menuGlobalHotkeySetting}" Width="700" Height="500" - x:DataType="vms:SubEditViewModel" + x:DataType="vms:GlobalHotkeySettingViewModel" ShowInTaskbar="False" WindowStartupLocation="CenterScreen" mc:Ignorable="d">