解决了接口节点的参数共享,UI控件的Menu菜单事件穿透问题,同时优化了工作台画布流程相关事件的部分代码

This commit is contained in:
fengjiayi
2025-05-30 01:02:25 +08:00
parent bbf7f045b0
commit a112d0287f
23 changed files with 635 additions and 457 deletions

View File

@@ -43,16 +43,16 @@ namespace Serein.Workbench.ViewModels
flowNodeService.OnCreateFlowCanvasView += OnCreateFlowCanvasView; // 创建了画布
flowNodeService.OnRemoveFlowCanvasView += OnRemoveFlowCanvasView; // 移除了画布
this.PropertyChanged += OnPropertyChanged;
//this.PropertyChanged += OnPropertyChanged;
}
private void OnPropertyChanged(object? value, PropertyChangedEventArgs e)
partial void OnSelectedTabChanged(FlowEditorTabModel value)
{
if (this.SelectedTab is null) return;
flowNodeService.CurrentSelectCanvas = this.SelectedTab.Content;
flowNodeService.CurrentSelectCanvas = value.Content;
}
#region
private void OnCreateFlowCanvasView(FlowCanvasView canvas)
{