This commit is contained in:
kwai
2023-06-14 19:41:29 +08:00
parent 0f7a5b0308
commit 207523eb16
5 changed files with 63 additions and 20 deletions

View File

@@ -3160,6 +3160,7 @@ namespace AIStudio.Wpf.DiagramDesigner
{
if (port.GetBounds().IntersectsWith(blockDesignerItemViewModel.GetBounds())) //如果两个位置相交
{
port.DataItem.ShowConnectors = true;
if (port.CanAttachTo(blockDesignerItemViewModel) == true)
{