From f7de547894dc83731c5fb02c49f918ece6310fa3 Mon Sep 17 00:00:00 2001 From: Tig Date: Tue, 15 Oct 2024 07:44:53 -0600 Subject: [PATCH] MouseEventArgs cleanup --- Terminal.Gui/Input/MouseEventArgs.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Terminal.Gui/Input/MouseEventArgs.cs b/Terminal.Gui/Input/MouseEventArgs.cs index 90b746d5f..ce1b27495 100644 --- a/Terminal.Gui/Input/MouseEventArgs.cs +++ b/Terminal.Gui/Input/MouseEventArgs.cs @@ -19,13 +19,13 @@ public class MouseEventArgs : HandledEventArgs /// public Point ScreenPosition { get; set; } - /// The deepest View who's screen coordinates are . + /// The deepest View who's contains . public View View { get; set; } - /// The position of the mouse in 's Viewport-relative coordinates. + /// The position of the mouse in 's Viewport-relative coordinates. Only valid if is set. public Point Position { get; set; } /// Returns a that represents the current . /// A that represents the current . - public override string ToString () { return $"({Position}):{Flags}"; } + public override string ToString () { return $"({ScreenPosition}):{Flags}:{View.Id}:{Position}"; } }