This commit is contained in:
zengwenjie
2025-09-24 16:34:20 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -584,7 +584,7 @@ namespace Deedy.Activity
else this.ClearValue(ElementIconPropertyKey); else this.ClearValue(ElementIconPropertyKey);
} }
} }
this.MarginCorrection_Indentation = new Thickness(newValue.DepthLevel * ActionViewer.IndentRuler, 0, 0, 0);
if (newValue.IsLocked) if (newValue.IsLocked)
{ {
this.IsDraggable = false; this.IsDraggable = false;

View File

@@ -33,7 +33,7 @@ namespace Deedy.Activity
public override DataTemplate SelectTemplate(object item, DependencyObject container) public override DataTemplate SelectTemplate(object item, DependencyObject container)
{ {
this.LoadFromSource(); this.LoadFromSource();
//TODO根据类型与契约选择特定的数据模版
return base.SelectTemplate(item, container); return base.SelectTemplate(item, container);
} }
} }