mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-31 02:08:03 +01:00
Show it in action
This commit is contained in:
@@ -244,7 +244,7 @@ public class Adornment : View
|
||||
protected internal override bool OnMouseLeave (MouseEvent mouseEvent)
|
||||
{
|
||||
// Invert Normal
|
||||
if (Diagnostics.HasFlag (ViewDiagnosticFlags.MouseEnter) && ColorScheme != null)
|
||||
if (Diagnostics.FastHasFlags (ViewDiagnosticFlags.MouseEnter) && ColorScheme != null)
|
||||
{
|
||||
var cs = new ColorScheme (ColorScheme)
|
||||
{
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
|
||||
using Terminal.Gui.Analyzers.Internal.Attributes;
|
||||
|
||||
namespace Terminal.Gui;
|
||||
|
||||
/// <summary>Enables diagnostic functions for <see cref="View"/>.</summary>
|
||||
[Flags]
|
||||
[GenerateEnumExtensionMethods(FastHasFlags = true)]
|
||||
public enum ViewDiagnosticFlags : uint
|
||||
{
|
||||
/// <summary>All diagnostics off</summary>
|
||||
|
||||
Reference in New Issue
Block a user