Renamed to simply GetObjectOnRow and dropped unused X component

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

View File

@@ -118,7 +118,7 @@ namespace UICatalog.Scenarios {
// if user right clicks
if (obj.MouseEvent.Flags.HasFlag(MouseFlags.Button3Clicked)) {
var rightClicked = treeViewFiles.GetObjectAtPoint (new Point (obj.MouseEvent.X, obj.MouseEvent.Y));
var rightClicked = treeViewFiles.GetObjectOnRow ( obj.MouseEvent.Y);
// nothing was clicked
if (rightClicked == null)