fix scroll to node on selection in prefab editor
This commit is contained in:
@@ -97,10 +97,7 @@ namespace FlaxEditor.Windows.Assets
|
|||||||
|
|
||||||
// For single node selected scroll view so user can see it
|
// For single node selected scroll view so user can see it
|
||||||
if (nodes.Count == 1)
|
if (nodes.Count == 1)
|
||||||
{
|
ScrollToSelectedNode();
|
||||||
nodes[0].ExpandAllParents(true);
|
|
||||||
ScrollViewTo(nodes[0]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update properties editor
|
// Update properties editor
|
||||||
|
|||||||
Reference in New Issue
Block a user