fix(dock): refactor mutation logic and fix AddChild regression

This commit is contained in:
2026-03-28 14:54:40 +09:00
parent 231756006e
commit e69e071ce2
3 changed files with 99 additions and 120 deletions

View File

@@ -107,6 +107,7 @@ public class DockingMutationTest
{
var onlyChild = group1.Children[0];
var parent = group1.Parent;
Assert.IsNotNull(parent);
int index = parent.Children.IndexOf(group1);
parent.RemoveChild(group1);