mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Changed name to GetObjectRow
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user