mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 01:07:58 +01:00
Renamed to simply GetObjectOnRow and dropped unused X component
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user