From f21e3154114cc78972b092fc545f58777dc3daf5 Mon Sep 17 00:00:00 2001 From: acgq Date: Tue, 9 Jan 2024 18:59:53 +0800 Subject: [PATCH] use single click to switch --- Switcheroo/MainWindow.xaml | 2 +- Switcheroo/MainWindow.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Switcheroo/MainWindow.xaml b/Switcheroo/MainWindow.xaml index 233e0897..11d4b889 100644 --- a/Switcheroo/MainWindow.xaml +++ b/Switcheroo/MainWindow.xaml @@ -200,7 +200,7 @@ diff --git a/Switcheroo/MainWindow.xaml.cs b/Switcheroo/MainWindow.xaml.cs index afeab7ee..e9837a07 100644 --- a/Switcheroo/MainWindow.xaml.cs +++ b/Switcheroo/MainWindow.xaml.cs @@ -594,7 +594,7 @@ private void OnEnterPressed(object sender, ExecutedRoutedEventArgs e) e.Handled = true; } - private void ListBoxItem_MouseDoubleClick(object sender, MouseButtonEventArgs e) + private void ListBoxItem_MouseSingleClick(object sender, MouseButtonEventArgs e) { Switch(); e.Handled = true;