Fix default widget foreground color.

This commit is contained in:
LexManos 2020-01-22 11:56:05 -08:00
parent dea08be906
commit 575af22cee
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
}
+
+ public static final int UNSET_FG_COLOR = -1;
+ protected int packedFGColor = 0;
+ protected int packedFGColor = UNSET_FG_COLOR;
+ public int getFGColor() {
+ if (packedFGColor != UNSET_FG_COLOR) return packedFGColor;
+ return this.active ? 16777215 : 10526880; // White : Light Grey