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