几个快捷键写错了

This commit is contained in:
艾竹
2023-12-17 18:36:51 +08:00
parent 08997298ac
commit 23b0f68348

View File

@@ -467,13 +467,13 @@ namespace AIStudio.Wpf.DiagramDesigner
public Func<KeyEventArgs, bool> Ungroup
{
get; set;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift | e.Key == Key.G;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift && e.Key == Key.G;
[Description("Search shortcut (CTRL+F by default)")]
public Func<KeyEventArgs, bool> Search
{
get; set;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Control | e.Key == Key.F;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Control && e.Key == Key.F;
[Description("Search Down shortcut (F3 by default)")]
public Func<KeyEventArgs, bool> SearchDown
@@ -485,19 +485,19 @@ namespace AIStudio.Wpf.DiagramDesigner
public Func<KeyEventArgs, bool> SearchUp
{
get; set;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift | e.Key == Key.F3;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift && e.Key == Key.F3;
[Description("Replace shortcut (Alt+R by default)")]
public Func<KeyEventArgs, bool> Replace
{
get; set;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt | e.Key == Key.R;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt && e.Key == Key.R;
[Description("Replace All shortcut (Alt+A by default)")]
public Func<KeyEventArgs, bool> ReplaceAll
{
get; set;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt | e.Key == Key.A;
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt && e.Key == Key.A;
[Description("Next Node (CEnter by default)")]
public Func<KeyEventArgs, bool> Next