Skip to content

Commit

Permalink
fixed text color for white background
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi Delbruck authored and Tobi Delbruck committed Jan 13, 2019
1 parent 831795f commit d7a33be
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -152,10 +152,11 @@ public void setShowTimeElapsedText(boolean showTimeElapsedText) {
@Override
public void annotate(GLAutoDrawable drawable) {
GL2 gl = drawable.getGL().getGL2();
gl.glColor3f(1, 1, 1);
gl.glColor3f(.2f, .2f, .8f);
TextRenderer renderer = null;
if (showTimeElapsedText || showEventsAccumulatedBar) {
renderer = new TextRenderer(new Font("SansSerif", Font.PLAIN, 18));
renderer.setColor(.2f, .2f, .8f,.75f);
}

if (showEventsAccumulatedBar) {
Expand Down

0 comments on commit d7a33be

Please sign in to comment.