mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Added unit test & fixed bug (#3666)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user