Fixes for regression in tree UI layout after recent refactor
This commit is contained in:
@@ -412,11 +412,8 @@ namespace FlaxEditor.Modules
|
||||
// Add to the tree
|
||||
var rootNode = Root.TreeNode;
|
||||
rootNode.IsLayoutLocked = true;
|
||||
//
|
||||
sceneNode.ParentNode = Root;
|
||||
rootNode.SortChildren();
|
||||
//
|
||||
treeNode.UnlockChildrenRecursive();
|
||||
rootNode.IsLayoutLocked = false;
|
||||
rootNode.Parent.PerformLayout();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user