Code cleanup

This commit is contained in:
Tig
2024-09-21 19:05:08 -06:00
parent f9e0c9fe03
commit 8189667c3e
3 changed files with 2 additions and 3 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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);