Issue #2920 Fix default color of BOXED text.

Former-commit-id: ee99dba933 [formerly 60479824d1] [formerly 87ea43cf0d] [formerly 9d4c33ba91 [formerly 87ea43cf0d [formerly 59f12cd4cc60f0908c106cbc0572d3f84d0d509b]]]
Former-commit-id: 9d4c33ba91
Former-commit-id: faee1aa6dd05debf6ff2f60a54d18fa91ba9f91e [formerly 199a2df79e]
Former-commit-id: 082a5c515d
This commit is contained in:
Ben Steffensmeier 2014-05-08 18:16:39 -05:00
parent 69e7cfa1ed
commit ad64b8b197

View file

@ -144,6 +144,7 @@ import com.sun.opengl.util.j2d.TextRenderer;
* if changed
* Apr 04, 2014 2920 bsteffen Allow strings to use mulitple styles.
* Apr 08, 2014 2950 bsteffen Reduce oversized colormaps.
* May 08, 2014 2920 bsteffen Fix default color of BOXED text.
*
* </pre>
*
@ -1956,8 +1957,7 @@ public class GLTarget extends AbstractGraphicsTarget implements IGLTarget {
gl.glColor4d(dString.boxColor.red / 255.0,
dString.boxColor.green / 255.0,
dString.boxColor.blue / 255.0, alpha);
}
if (blanked) {
} else {
gl.glColor4d(backgroundColor.red / 255.0,
backgroundColor.green / 255.0,
backgroundColor.blue / 255.0, alpha);