Skip to content

Commit d3d3df8

Browse files
committed
Fixed feedback from bdisp
1 parent 72f0f3b commit d3d3df8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Terminal.Gui/Views/TabMouseEventArgs.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
namespace Terminal.Gui;
1+
#nullable enable
2+
using System.ComponentModel;
3+
4+
namespace Terminal.Gui;
25

36
/// <summary>Describes a mouse event over a specific <see cref="Tab"/> in a <see cref="TabView"/>.</summary>
4-
public class TabMouseEventArgs : EventArgs
7+
public class TabMouseEventArgs : HandledEventArgs
58
{
69
/// <summary>Creates a new instance of the <see cref="TabMouseEventArgs"/> class.</summary>
710
/// <param name="tab"><see cref="Tab"/> that the mouse was over when the event occurred.</param>
@@ -13,7 +16,7 @@ public TabMouseEventArgs (Tab tab, MouseEventArgs mouseEvent)
1316
}
1417

1518
/// <summary>
16-
/// Gets the actual mouse event. Use <see cref="MouseEventArgs.Handled"/> to cancel this event and perform custom
19+
/// Gets the actual mouse event. Use <see cref="HandledEventArgs.Handled"/> to cancel this event and perform custom
1720
/// behavior (e.g. show a context menu).
1821
/// </summary>
1922
public MouseEventArgs MouseEvent { get; }

Terminal.Gui/Views/TileView.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,9 @@ public int IndexOf (View toFind, bool recursive = false)
174174
// BUG: v2 fix this hack
175175
// QUESTION: Does this need to be fixed before events are refactored?
176176
/// <summary>Overridden so no Frames get drawn</summary>
177-
/// <param name="clipRegion"></param>
178177
/// <returns></returns>
179178
protected override bool OnDrawingBorderAndPadding () { return true; }
180179

181-
/// <param name="clipRegion"></param>
182180
/// <inheritdoc/>
183181
protected override bool OnRenderingLineCanvas () { return false; }
184182

0 commit comments

Comments
 (0)