NoLeftClickDelay

This commit is contained in:
2dust
2022-10-13 20:28:37 +08:00
parent fa02e52f2c
commit 3407b4dddd
2 changed files with 1 additions and 6 deletions

View File

@@ -206,7 +206,7 @@
<tb:TaskbarIcon
x:Name="tbNotify"
IconSource="/clashN.ico"
TrayMouseDoubleClick="tbNotify_TrayMouseDoubleClick">
NoLeftClickDelay="True">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu Style="{StaticResource DefMenu}">
<MenuItem x:Name="menuSystemProxyClear">

View File

@@ -74,11 +74,6 @@ namespace clashN.Views
ViewModel?.ShowHideWindow(false);
}
private void tbNotify_TrayMouseDoubleClick(object sender, RoutedEventArgs e)
{
ViewModel?.ShowHideWindow(null);
}
private void menuExit_Click(object sender, RoutedEventArgs e)
{
tbNotify.Dispose();