mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
Make alternating table rows opaque (#8406)
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user