Fix default widget foreground color.

This commit is contained in:
LexManos 2020-01-22 11:56:05 -08:00
parent dea08be906
commit 575af22cee

View file

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