Bläddra i källkod

Fixed color issues

Tigger Kindel 1 år sedan
förälder
incheckning
51e0c3c1b7
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      Terminal.Gui/Views/TableView/TableView.cs

+ 2 - 2
Terminal.Gui/Views/TableView/TableView.cs

@@ -572,7 +572,7 @@ namespace Terminal.Gui {
 			Attribute color;
 
 			if (FullRowSelect && IsSelected (0, rowToRender)) {
-				color = focused ? rowScheme.Focus : rowScheme.HotNormal;
+				color = focused ? rowScheme.HotFocus : rowScheme.HotNormal;
 			} else {
 				color = Enabled ? rowScheme.Normal : rowScheme.Disabled;
 			}
@@ -618,7 +618,7 @@ namespace Terminal.Gui {
 
 				Attribute cellColor;
 				if (isSelectedCell) {
-					cellColor = focused ? scheme.Focus : scheme.HotNormal;
+					cellColor = focused ? scheme.HotFocus : scheme.HotNormal;
 				} else {
 					cellColor = Enabled ? scheme.Normal : scheme.Disabled;
 				}