当ActionViewer的ActionElement变更时直接更新MarginCorrection_Indentation值

This commit is contained in:
于智纯
2025-09-23 21:57:27 +08:00
parent 2db765f42d
commit fff6cb8e88
2 changed files with 2 additions and 2 deletions

View File

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