Make alternating table rows opaque (#8406)

This commit is contained in:
2026-07-10 10:19:26 -07:00
committed by GitHub
parent 390bdcb77f
commit 700f090331
@@ -32,6 +32,7 @@ namespace common {
private Color _evenColor;
private Color _oddColor;
private readonly Color _highlightColor = Color.blue;
private readonly Color _defaultOddRowColor = new(0.82f, 0.85f, 0.87f, 1f);
private int? _hoveredRowIndex;
private int? _longHoveredRowIndex;
@@ -242,8 +243,7 @@ namespace common {
if (ShadeAlternateRows) {
_evenColor = rowPrefab.GetComponent<Image>().color;
_evenColor.a = 1.0f;
_oddColor = rowPrefab.GetComponent<Image>().color;
_oddColor.a = 0.3f;
_oddColor = _defaultOddRowColor;
}
foreach (Transform child in contentViewTransform) {