Fix scroll on selection change

This commit is contained in:
2023-02-13 22:10:45 +01:00
parent 8184d513e3
commit 0031d9174d
+1 -1
View File
@@ -251,7 +251,7 @@ namespace FlaxEditor.Windows
if (nodes.Count == 1)
{
nodes[0].ExpandAllParents(true);
ScrollViewTo(nodes[0]);
_sceneTreePanel.ScrollViewTo(nodes[0]);
}
}