mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-12 20:49:26 +08:00
bug修复
This commit is contained in:
@@ -741,10 +741,10 @@ namespace AIStudio.Wpf.DiagramApp.ViewModels
|
||||
|
||||
public bool KeyExecuted(KeyEventArgs e)
|
||||
{
|
||||
if (PageViewModel?.DiagramViewModel?.ExecuteShortcut(e) == true)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
//if (PageViewModel?.DiagramViewModel?.ExecuteShortcut(e) == true)
|
||||
//{
|
||||
// return true;
|
||||
//}
|
||||
|
||||
var para = e.KeyboardDevice.Modifiers == ModifierKeys.None ? e.Key.ToString() : e.KeyboardDevice.Modifiers.ToString() + "+" + e.Key.ToString();
|
||||
bool executed = true;
|
||||
|
||||
Reference in New Issue
Block a user