fix: fix index typo.
This commit is contained in:
parent
d952f901f2
commit
0ae04b69f5
@ -196,7 +196,7 @@ public class ColorItemViewModel : ObservableObject
|
||||
Brush = brush;
|
||||
ResourceKey = resourceKey;
|
||||
Hex = brush.ToString().ToUpperInvariant();
|
||||
if ((light && index < 5) || (!light && index > 5))
|
||||
if ((light && index < 5) || (!light && index >= 5))
|
||||
{
|
||||
TextBrush = Brushes.Black;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user