Fix default widget foreground color.
This commit is contained in:
parent
dea08be906
commit
575af22cee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue