添加block快,不需要连接线,直接吸附。

This commit is contained in:
艾竹
2023-05-21 22:06:59 +08:00
parent 2fd8321363
commit fde899cfa9
30 changed files with 680 additions and 338 deletions

View File

@@ -37,6 +37,11 @@ namespace AIStudio.Wpf.DiagramDesigner
return (Style)itemsControl.FindResource("logicalItemStyle");
}
if (item is BlockDesignerItemViewModel)
{
return (Style)itemsControl.FindResource("blockItemStyle");
}
if (item is DesignerItemViewModelBase)
{
return (Style)itemsControl.FindResource("designerItemStyle");