From fe80141c1ebad8997552df192982f1993cb8432e Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 13 Apr 2024 01:46:31 +0900 Subject: [PATCH] Change the togglebutton to radio for multiple openning hotkey reg situation --- Flow.Launcher/HotkeyControl.xaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Flow.Launcher/HotkeyControl.xaml b/Flow.Launcher/HotkeyControl.xaml index f7df0145b..467ab5a6d 100644 --- a/Flow.Launcher/HotkeyControl.xaml +++ b/Flow.Launcher/HotkeyControl.xaml @@ -7,9 +7,9 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="http://schemas.modernwpf.com/2019" xmlns:vm="clr-namespace:Flow.Launcher.ViewModel" + d:DataContext="{d:DesignInstance vm:HotkeyControlViewModel}" d:DesignWidth="300" - mc:Ignorable="d" - d:DataContext="{d:DesignInstance vm:HotkeyControlViewModel}"> + mc:Ignorable="d"> - - - + PreviewKeyDown="OnPreviewKeyDown" + Style="{StaticResource {x:Type ToggleButton}}"> + + @@ -115,10 +117,9 @@ - + - + @@ -138,6 +139,6 @@ - + \ No newline at end of file