Renamed scrollPosition to scrollControl for more accurate description

This commit is contained in:
Chandler Cox
2022-10-16 19:05:41 -05:00
parent 546501a553
commit ef34ad7600

View File

@@ -217,8 +217,8 @@ namespace FlaxEditor.Windows
{
// Scroll to node
var nodeSelection = _tree.Selection;
var scrollPosition = nodeSelection[nodeSelection.Count - 1];
_sceneTreePanel.ScrollViewTo(scrollPosition);
var scrollControl = nodeSelection[nodeSelection.Count - 1];
_sceneTreePanel.ScrollViewTo(scrollControl);
}
private void OnSearchBoxTextChanged()