mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 09:18:01 +01:00
Code cleanup
This commit is contained in:
@@ -206,7 +206,6 @@ public class Adornment : View
|
||||
#region Mouse Support
|
||||
|
||||
|
||||
// TODO: It's stoopid that this override changes the defn of the input coords from base.
|
||||
/// <summary>
|
||||
/// Indicates whether the specified Parent's SuperView-relative coordinates are within the Adornment's Thickness.
|
||||
/// </summary>
|
||||
|
||||
@@ -20,7 +20,7 @@ public enum ViewDiagnosticFlags : uint
|
||||
Padding = 0b_0000_0010,
|
||||
|
||||
/// <summary>
|
||||
/// When enabled, <see cref="Adornment.OnMouseEnter(Gui.MouseEvent)"/> and <see cref="Adornment.OnMouseLeave(Gui.MouseEvent)"/>
|
||||
/// When enabled, <see cref="Adornment.OnMouseEnter"/> and <see cref="Adornment.OnMouseLeave"/>
|
||||
/// will invert the foreground and background colors.
|
||||
/// </summary>
|
||||
MouseEnter = 0b_0000_00100
|
||||
|
||||
@@ -795,7 +795,7 @@ public class GetViewsUnderMouseTests
|
||||
|
||||
List<View?> found = View.GetViewsUnderMouse (new (mouseX, mouseY));
|
||||
|
||||
string [] foundIds = found.Select (v => v.Id).ToArray ();
|
||||
string [] foundIds = found.Select (v => v!.Id).ToArray ();
|
||||
|
||||
Assert.Equal (viewIdStrings, foundIds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user