Added unit test & fixed bug (#3666)

This commit is contained in:
Tig
2024-08-17 09:22:52 -06:00
committed by GitHub
parent f9a1d0345e
commit c00290ffcc
2 changed files with 32 additions and 16 deletions

View File

@@ -806,6 +806,8 @@ public class Shortcut : View, IOrientation, IDesignable
if (HasFocus)
{
base.ColorScheme ??= new (Attribute.Default);
// When we have focus, we invert the colors
base.ColorScheme = new (base.ColorScheme)
{