fix scroll to node on selection in prefab editor

This commit is contained in:
xxSeys1
2025-06-09 13:56:41 +02:00
parent eee4e55cf0
commit 112e728465

View File

@@ -97,10 +97,7 @@ namespace FlaxEditor.Windows.Assets
// For single node selected scroll view so user can see it
if (nodes.Count == 1)
{
nodes[0].ExpandAllParents(true);
ScrollViewTo(nodes[0]);
}
ScrollToSelectedNode();
}
// Update properties editor