mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-14 20:06:34 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -21,6 +21,10 @@ namespace Serein.Workbench.Views
|
||||
public partial class FlowWorkbenchView : Window
|
||||
{
|
||||
private FlowWorkbenchViewModel ViewModel => ViewModel as FlowWorkbenchViewModel;
|
||||
|
||||
/// <summary>
|
||||
/// FlowWorkbenchView 的交互逻辑
|
||||
/// </summary>
|
||||
public FlowWorkbenchView()
|
||||
{
|
||||
this.DataContext = App.GetService<Locator>().FlowWorkbenchViewModel;
|
||||
@@ -49,6 +53,10 @@ namespace Serein.Workbench.Views
|
||||
System.Windows.Application.Current.Shutdown();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 处理鼠标按下事件,确保点击空白区域时清除焦点
|
||||
/// </summary>
|
||||
/// <param name="e"></param>
|
||||
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
|
||||
{
|
||||
// 获取当前的焦点控件
|
||||
|
||||
Reference in New Issue
Block a user