From 02f428d61a900e1b54d46385c73210959cc6386a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E7=AB=B9?= Date: Sat, 10 Dec 2022 20:21:06 +0800 Subject: [PATCH] =?UTF-8?q?dev=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIStudio.Wpf.DiagramDesigner/Controls/DesignerCanvas.cs | 5 +---- AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml | 1 + AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/AIStudio.Wpf.DiagramDesigner/Controls/DesignerCanvas.cs b/AIStudio.Wpf.DiagramDesigner/Controls/DesignerCanvas.cs index 608291f..ec73f17 100644 --- a/AIStudio.Wpf.DiagramDesigner/Controls/DesignerCanvas.cs +++ b/AIStudio.Wpf.DiagramDesigner/Controls/DesignerCanvas.cs @@ -399,10 +399,7 @@ namespace AIStudio.Wpf.DiagramDesigner protected override void OnPreviewKeyDown(KeyEventArgs e) { - base.OnPreviewKeyDown(e); - - - + base.OnPreviewKeyDown(e); } protected override Size MeasureOverride(Size constraint) diff --git a/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml b/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml index cc9500b..c5da1b6 100644 --- a/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml +++ b/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml @@ -8,6 +8,7 @@