Changed name to GetObjectRow

This commit is contained in:
Thomas
2022-05-13 22:17:42 +01:00
parent 7f0671e10a
commit 6800113ff1
3 changed files with 15 additions and 15 deletions

View File

@@ -100,7 +100,7 @@ namespace UICatalog.Scenarios {
if (selected == null)
return;
var location = treeViewFiles.GetObjectYPosition (selected);
var location = treeViewFiles.GetObjectRow (selected);
//selected object is offscreen or somehow not found
if (location == null || location < 0 || location > treeViewFiles.Frame.Height)