From d37147d437915c4a644273abc38b70f3c20bea70 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 26 Nov 2018 19:45:57 +0100 Subject: Fix PerfView text color --- src/subconscious/graphics/widget/PerfView.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/subconscious/graphics/widget/PerfView.java b/src/subconscious/graphics/widget/PerfView.java index 94c68ab..d5de3cb 100644 --- a/src/subconscious/graphics/widget/PerfView.java +++ b/src/subconscious/graphics/widget/PerfView.java @@ -1,5 +1,7 @@ package subconscious.graphics.widget; +import subconscious.graphics.Palette; + import java.awt.Graphics2D; @@ -22,6 +24,7 @@ public class PerfView extends Widget implements Dynamic { @Override public void render(Graphics2D g) { + g.setColor(Palette.BLACK); g.drawString("DeltaTime (us): ", 0, HEIGHT/2); g.drawString(Long.toString(this.lastDeltaNanoTime/1000), 0, HEIGHT); } -- cgit v1.2.1